NetBSD/usr.bin
christos 4f3cc30bcc This patch fixes the problem introduced in the previous commit where
parents would be get remade, even if children were not really updated
by the commands executed for them. It also makes all the children have
the real modification time set if possible, so it should fix some other
timing weirdnesses...

- collapse childMade and make fields into flags and convert them to bits
  CHILDMADE and REMAKE
- introduce FORCE flag that gets set in all the parents of a child that
  has no sources and does not exist.
- set oodate if the FORCE flag is set, and not if CHILDMADE
- centralize the RECHECK into Make_Recheck() and use this in make.c and compat.c
- use Make_TimeStamp for all child -> parent timestamp propagations
1998-11-11 19:37:06 +00:00
..
apply - Don't understand why use union wait pstat.w_status... 1998-11-06 22:28:15 +00:00
apropos char -> unsigned char 1998-11-06 22:29:44 +00:00
asa - cleanup for WARNS=1 1997-09-20 14:55:00 +00:00
at Add CWARNFLAGS+=-Wno-format-y2k. 1998-08-25 15:13:16 +00:00
audio/ctl Fix thinko in last commit. 1998-08-21 19:52:39 +00:00
audioctl Fix thinko in last commit. 1998-08-21 19:52:39 +00:00
banner use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
basename Add ".Sh DIAGNOSTICS" 1997-11-15 20:16:16 +00:00
bdes RCS Id Police. 1998-01-09 08:03:16 +00:00
biff __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
bzip2 Fix MLINKS. Define LDADD and DPADD. 1998-09-14 05:34:41 +00:00
bzip2recover NetBSD rcs id keyword. 1998-09-14 04:42:45 +00:00
cal char -> unsigned char 1998-11-06 22:49:30 +00:00
calendar - factor out common code 1998-11-06 22:56:38 +00:00
cap_mkdb Increase the initial hash table size. 1998-07-28 19:27:00 +00:00
checknr char -> unsigned char 1998-11-06 22:57:55 +00:00
chflags create a "stat_flags.h" to go with stat_flags.c 1998-10-10 07:38:22 +00:00
chpass We need to initialize the "save" member in the list for GECOS fields. 1998-08-10 23:21:05 +00:00
cksum add missing .Nm sections. 1997-11-11 14:39:59 +00:00
cmp Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
col getopt returns -1 not EOF 1997-10-18 12:54:24 +00:00
colcrt WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 12:59:04 +00:00
colrm WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-18 13:00:12 +00:00
column - include <termios.h> for winsize 1998-11-06 22:59:12 +00:00
comm WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:02:59 +00:00
compress Init style to quiet compiler. 1998-10-08 01:56:28 +00:00
crontab WARNSify 1998-02-22 12:08:33 +00:00
crunch completely reimplement ELF symbol hiding. now it's even more of a gross 1998-11-03 02:30:16 +00:00
ctags char -> unsigned char 1998-11-06 23:06:38 +00:00
cut char -> unsigned char 1998-11-06 23:06:38 +00:00
dirname WARNSify, fix .Nm usage 1997-10-18 13:21:41 +00:00
du Add an `-r' flag (which is a no-op) to meet XPG4.2 requirements. 1998-02-15 17:08:17 +00:00
eject Assign my copyrights to TNF. 1998-09-05 17:31:44 +00:00
elf2aout macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
elf2ecoff bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
env WARNSify, fix .Nm usage 1997-10-18 13:54:51 +00:00
error char -> unsigned char 1998-11-06 23:06:38 +00:00
expand char -> unsigned char 1998-11-06 23:06:38 +00:00
false fix up .Nm usage 1997-10-18 14:46:54 +00:00
fdformat usr.bin/Makefile: recurse into fdformat on all ports 1998-10-25 23:30:39 +00:00
fgen make this compile under NetBSD. 1998-11-11 05:26:57 +00:00
file char -> unsigned char 1998-11-06 23:06:38 +00:00
find make printf format more conservative 1998-11-06 23:21:38 +00:00
finger Remove duplicate paragraph, mention .forward file, fixes pr 6177 by 1998-09-18 20:39:48 +00:00
fmt abs() numeric parameters to allow portable invocations in scripts. 1998-02-12 21:11:00 +00:00
fold fix compiler warnings on the sparc. minor KNF. 1997-10-20 10:20:52 +00:00
fpr WARNSify, fix .Nm usage 1997-10-18 15:05:40 +00:00
from WARNSify, fix .Nm usage 1997-10-18 15:05:40 +00:00
fsplit #elsej (!) should be #else 1998-10-08 01:29:49 +00:00
fstat const propagation. 1998-07-28 21:25:35 +00:00
ftp char -> unsigned char 1998-11-06 16:52:42 +00:00
gencat The range of the argument of ctype(3) functions is not that of "char", 1998-10-09 17:00:56 +00:00
getconf Add support to query _POSIX_SYNCHRONIZED_IO, _POSIX_SYNC_IO and IOV_MAX; 1998-08-03 14:48:40 +00:00
getopt <stdlib.h> -> <unistd.h> to fix compiler warning 1998-02-03 03:44:22 +00:00
gprof binutils gprof doesn't support mips. Build a.out gprof on mips, to support 1998-11-07 17:52:19 +00:00
head Remove __GNUC__ ifdef, and make usage string consistent with other programs. 1998-01-31 20:42:07 +00:00
hexdump Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
id Make this compile again, and fix some whitespace lossage. 1998-10-14 21:56:57 +00:00
indent Get rid of multiply defined common symbols 1998-10-08 01:30:27 +00:00
ipcrm fix .Nm usage 1997-10-19 03:18:18 +00:00
ipcs use a buffer the size we fill. ensure another buffer is nul-terminated (ok in this code) 1998-07-06 10:16:40 +00:00
join include unistd.h 1998-10-13 17:02:16 +00:00
jot Reformat in mandoc. 1997-11-01 04:58:39 +00:00
kdump Adjust to Eric's recent errno renaming. 1998-10-24 19:04:51 +00:00
ktrace Make "ktrace -f" work again. Slightly klugy because of the 1998-07-14 01:39:59 +00:00
lam WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:42:18 +00:00
last Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
lastcomm Need <time.h> for ctime() prototype. 1998-04-02 10:22:03 +00:00
ldd Assign my copyrights to TNF. 1998-09-05 13:08:38 +00:00
leave Need <time.h> for time(), localtime() and ctime() prototypes. 1998-04-02 10:23:01 +00:00
less const poisoning. 1998-07-26 15:13:14 +00:00
lex Eliminate a memory leak. 1998-10-10 20:48:04 +00:00
locate Mention /usr/libexec/locate.updatedb, weekly.conf(5) 1998-08-08 14:49:23 +00:00
lock const poisoning. 1998-07-26 21:58:46 +00:00
logger WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register, bcopy 1997-10-19 04:16:47 +00:00
login Execute ttyaction on termination of rlogind/telnetd sessions. 1998-08-29 17:31:55 +00:00
logname WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-19 04:20:06 +00:00
look Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
lorder Convert the evil sed crap to 3 separate invocations of sed. 1998-11-09 04:52:44 +00:00
m4 add -Dunix to CPPFLAGS to suppress cpp warning. 1998-09-01 03:16:48 +00:00
machine WARNSify, fix .Nm usage 1997-10-19 04:41:01 +00:00
mail Get rid of commons. 1998-10-08 17:36:55 +00:00
make This patch fixes the problem introduced in the previous commit where 1998-11-11 19:37:06 +00:00
man char -> unsigned char 1998-11-06 22:29:44 +00:00
menuc don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
mesg fix up .Nm usage 1997-10-19 05:09:03 +00:00
midiplay Add f flag to getopt() argument. Fixes PR 6335. 1998-10-20 20:22:09 +00:00
mixerctl Fix thinko in last commit. 1998-08-21 19:52:39 +00:00
mkdep per PR#4304 no need to set PATH (especially after testing it!) 1998-04-09 05:59:35 +00:00
mkfifo WARNSify, fix .Nm usage 1997-10-19 05:11:52 +00:00
mkstr remove comment about pi (we don't ship it) and ex (nvi doesn't use mkstr) 1998-06-08 12:05:34 +00:00
modstat revoke priviledges when no longer needed. 1998-07-06 11:58:51 +00:00
msgc don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
msgs Don't core dump if the uid is invalid. 1998-07-26 22:14:34 +00:00
netstat put all the different struct sockaddr_xxx types into the union pt_u, to force the alignment to be correct for all of them. 1998-10-31 06:42:22 +00:00
newsyslog Remove conditional strdup() compiled if OSF isn't defined, and -DOSF 1998-07-29 01:31:50 +00:00
nfsstat - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
nice WARNSify, fix .Nm usage 1997-10-19 06:28:02 +00:00
nohup Change = to == in exit return code expression. From Chris Engebretson. 1997-12-23 18:21:34 +00:00
pagesize fix .Nm usage, add rcsid 1997-10-19 11:53:01 +00:00
passwd const poisoning. 1998-07-26 22:15:38 +00:00
paste include unistd.h 1998-10-13 17:02:16 +00:00
patch char -> unsigned char 1998-11-06 22:40:13 +00:00
pr Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 10:42:51 +00:00
printenv WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 12:44:21 +00:00
printf include unistd 1998-10-14 00:56:00 +00:00
quota Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
rdist Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
renice WARNSify, fix .Nm usage, deprecate register, use warn 1997-10-19 14:01:33 +00:00
rev WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:03:29 +00:00
rlogin bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
rpcgen Remove spurious return 1998-10-19 00:43:59 +00:00
rpcinfo revert; we can't break the existing ABI and API 1998-02-12 03:52:12 +00:00
rs RCS Id Police. 1998-01-09 08:03:16 +00:00
rsh Add xrefs to new hosts.equiv(5)/rhosts(5) man page. 1997-11-26 18:06:51 +00:00
rup add includes to fix compiler warning 1998-02-03 04:04:58 +00:00
ruptime Print sane values on uptime >1 year, per PR 5318 by Heiko Rupp 1998-04-19 19:52:33 +00:00
rusers Get idle time right, per PR 5699 by Urban Boquist <boquist@cs.chalmers.se> 1998-07-03 18:35:35 +00:00
rwall const poisoning. 1998-07-26 22:15:38 +00:00
rwho Need <time.h> for time() and ctime() prototypes. 1998-04-02 11:00:10 +00:00
script Need <time.h> for time() and ctime() prototypes. 1998-04-02 11:00:10 +00:00
sed Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
shar Implement a new manual page category ``SECURITY CONSIDERATIONS'' 1998-06-08 12:41:41 +00:00
shlock RCS Id Police. 1998-01-09 08:03:16 +00:00
showmount No need to include <socketvar.h>. 1998-04-02 11:10:52 +00:00
shuffle Must cast size_t to long and use %ld to print. 1998-09-30 18:37:05 +00:00
skey one last thing for PR#5820 1998-08-11 09:07:15 +00:00
skeyinfo cosmetic change 1997-11-08 09:37:44 +00:00
skeyinit const poisoning. 1998-07-26 22:21:02 +00:00
soelim change includes to fix compiler warning 1998-02-03 04:08:01 +00:00
split WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 23:26:56 +00:00
strip Fill in missing (default) mmap(2) flags. 1998-02-20 09:27:18 +00:00
su Add #ifdef SKEY around SKEY-specific code. 1998-10-14 00:56:48 +00:00
systat Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tail explicitly zero the lines structure! How did this ever work before? 1998-11-03 14:27:09 +00:00
talk const poisoning. 1998-07-26 22:26:29 +00:00
tcopy *** empty log message *** 1998-10-08 02:15:14 +00:00
tee WARNSify, fix .Nm usage, deprecate register 1997-10-20 00:35:14 +00:00
telnet - synchronize with the domestic version 1998-11-06 19:54:18 +00:00
tftp const poisoning. 1998-07-26 15:23:39 +00:00
time Silence -Wall by casting to (long) in printf formats. 1998-10-14 00:57:40 +00:00
tip Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tn3270 - prototype tgetstr() 1998-11-06 22:14:58 +00:00
touch Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tput add missing .Nm sections. 1997-11-11 14:39:59 +00:00
tr macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
true fix .Nm usage 1997-10-20 01:00:41 +00:00
tset Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tsort Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tty WARNSify, fix .Nm usage 1997-10-20 01:10:38 +00:00
ul remove WARNS=0 1997-10-20 02:09:46 +00:00
uname Add a -p option to uname(1), which returns the machine's processor 1998-11-09 13:24:05 +00:00
unexpand WARNSify, fix .Nm usage 1997-10-20 02:20:41 +00:00
unifdef Didn't get along with ObjC/C++ style "//" comments. Add code to deal with that. 1998-10-08 01:31:59 +00:00
uniq WARNSify, fix .Nm usage, deprecate register, getopt returns -1, use <err.h> 1997-10-20 02:27:04 +00:00
units don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
unvis include stdlib.h 1998-10-13 17:02:53 +00:00
usbhidctl Fix typo. 1998-10-22 10:34:17 +00:00
users include unistd 1998-10-14 00:58:00 +00:00
uudecode WARNSify, deprecate register, getopt returns -1, use ANSI string.h funcs 1997-10-20 02:46:37 +00:00
uuencode Nuke trailing comma in SEE ALSO section. 1997-11-01 06:32:13 +00:00
vacation const poisoning. 1998-07-26 23:03:30 +00:00
vgrind <sys/fcntl.h> -> <fcntl.h> in previous. 1998-10-16 22:01:57 +00:00
vi don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
vis WARNSify, deprecate register, getopt returns -1, fix .Nm usage 1997-10-20 03:06:47 +00:00
vmstat bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
w - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
wall const poisoning. 1998-07-26 23:14:40 +00:00
wc Use unsigned long instead of ulong 1998-10-13 17:03:39 +00:00
what deprecate register, fix .Nm usage 1997-10-20 03:16:30 +00:00
whatis Since GLOB_NOCHECK is not set, explicitly check for a return value of 1998-07-06 14:23:31 +00:00
whereis macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
which fix .Nm usage 1997-10-20 03:19:23 +00:00
who fix .Nm usage, deprecate register, use ANSI string.h stuff 1997-10-20 03:20:27 +00:00
whois deprecate register, fix .Nm, use err.h, use ANSI string.h 1997-10-20 03:23:37 +00:00
window Explicitly declare the storage for some variables that used to be defined only 1998-10-15 01:49:04 +00:00
write Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
xargs error message improvement per PR#4378 1998-04-14 09:26:33 +00:00
xinstall create a "stat_flags.h" to go with stat_flags.c 1998-10-10 07:38:22 +00:00
xlint Eliminate memory leaks at case labels. 1998-10-10 20:51:48 +00:00
xstr Modernize (use err, don't use bogus cpp macros, prototypes etc.) 1998-09-27 18:29:15 +00:00
yacc Eliminate memory leaks. 1998-10-10 20:45:59 +00:00
yes fix .Nm usage 1997-10-20 03:42:10 +00:00
ypcat sort SEE ALSO by section 1997-11-09 23:03:06 +00:00
ypmatch sort SEE ALSO by section 1997-11-09 23:03:06 +00:00
ypwhich document non-zero exit status if -m fails 1997-11-05 13:36:31 +00:00
Makefile add fgen 1998-11-11 05:53:15 +00:00
Makefile.inc WARNS=1 is now the default for usr.bin! Thanks to mrg for assistance -- lukem 1997-10-20 03:54:16 +00:00