Subject: cd /usr/src/lib/libc ; make depend because line length> 1024
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Julian H Stacey <Julian.H.Stacey@regent.e-technik.tu-muenchen.de>
List: current-users
Date: 08/15/1994 00:46:00
cd /usr/src/lib/libc ; make depend
fails because line length > 1024
This is on a PC532 running NetBSD current ...
(well as current as I can get, 'cos I cant recompile the system)
It produces this:
files=" /usr/src/lib/libc/arch/ns32k/gen/_setjmp.S /usr/src/lib/libc/arch/ns32k/gen/alloca.S /usr/src/lib/libc/arch/ns32k/gen/fabs.S /usr/src/lib/libc/arch/ns32k/gen/frexp.S /usr/src/lib/libc/arch/ns32k/gen/ldexp.S /usr/src/lib/libc/arch/ns32k/gen/modf.S /usr/src/lib/libc/arch/ns32k/gen/setjmp.S /usr/src/lib/libc/arch/ns32k/net/htonl.S /usr/src/lib/libc/arch/ns32k/net/htons.S /usr/src/lib/libc/arch/ns32k/net/ntohl.S /usr/src/lib/libc/arch/ns32k/net/ntohs.S /usr/src/lib/libc/arch/ns32k/stdlib/abs.S /usr/src/lib/libc/arch/ns32k/sys/Ovfork.S /usr/src/lib/libc/arch/ns32k/sys/brk.S /usr/src/lib/libc/arch/ns32k/sys/cerror.S /usr/src/lib/libc/arch/ns32k/sys/exect.S /usr/src/lib/libc/arch/ns32k/sys/fork.S /usr/src/lib/libc/arch/ns32k/sys/pipe.S /usr/src/lib/libc/arch/ns32k/sys/ptrace.S /usr/src/lib/libc/arch/ns32k/sys/reboot.S /usr/src/lib/libc/arch/ns32k/sys/sbrk.S /usr/src/lib/libc/arch/ns32k/sys/setlogin.S /usr/src/lib/libc/arch/ns32k/sys/sigpending.S /usr/src/lib/libc/arch/ns32k/sys/sigprocmask.S /usr/src/lib/libc/arch/ns32k/sys/sigreturn.S /usr/src/lib/libc/arch/ns32k/sys/sigsuspend.S /usr/src/lib/libc/arch/ns32k/sys/syscall.S"; if .....
I see lots of nasty 1024s lurking in src/bin/sh/* (mirrored 94 08 12)
that should probably be #defined (same 1024s lurk in FreeBSD-1.1.5 too,
dunno' about 4.4 BSD & derivatives) :-
memalloc.c: if (herefd >= 0 && len >= 1024) {
mkinit.c: char line[1024];
mkinit.c: char line[1024];
mkinit.c: char line[1024];
mknodes.c:char line[1024];
mknodes.c: if (fgets(line, 1024, infp) == NULL)
--
Julian Stacey Holz Str 27d, Munich, D-80469 Germany.
<stacey@freefall.cdrom.com> Tel. +49 89 268616 ( TZ=GMT+1 )
Alternates: <julian@pcsbst.pcs.com>,<jhs@regent.e-technik.tu-muenchen.de>
------------------------------------------------------------------------------