unix-history/.git
29 years agoupgraded to the latest NetBSD version
Christos Zoulas [Sat, 29 Apr 1995 08:22:00 +0000 (00:22 -0800)]
upgraded to the latest NetBSD version

SCCS-vsn: usr.bin/make/lst.lib/lstAppend.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstAtEnd.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstAtFront.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstClose.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstConcat.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstDatum.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstDeQueue.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstDestroy.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstDupl.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstEnQueue.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstFind.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstFindFrom.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstFirst.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstForEach.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstForEachFrom.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstInit.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstInsert.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstIsAtEnd.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstIsEmpty.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstLast.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstMember.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstNext.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstOpen.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstRemove.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstReplace.c 8.2
SCCS-vsn: usr.bin/make/lst.lib/lstSucc.c 8.2

29 years agofixed typos
Christos Zoulas [Sat, 29 Apr 1995 08:19:58 +0000 (00:19 -0800)]
fixed typos

SCCS-vsn: usr.bin/make/PSD.doc/tutorial.ms 8.4

29 years agoremoved util.c
Christos Zoulas [Sat, 29 Apr 1995 08:19:11 +0000 (00:19 -0800)]
removed util.c

SCCS-vsn: usr.bin/make/Makefile 8.3

29 years agotoo many arguments to err() function
Keith Bostic [Sat, 29 Apr 1995 08:16:53 +0000 (00:16 -0800)]
too many arguments to err() function
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/cp/cp.c 8.4

29 years agoadd the documented in the manual but not implemented variable
Keith Bostic [Sat, 29 Apr 1995 08:16:19 +0000 (00:16 -0800)]
add the documented in the manual but not implemented variable
expansions.
From: Christos Zoulas <christos@deshaw.com>

SCCS-vsn: bin/sh/expand.c 8.3
SCCS-vsn: bin/sh/parser.c 8.5
SCCS-vsn: bin/sh/parser.h 8.2
SCCS-vsn: bin/sh/sh.1 8.5
SCCS-vsn: bin/sh/show.c 8.2

29 years agoupdate for current systems
Kirk McKusick [Sat, 29 Apr 1995 08:15:27 +0000 (00:15 -0800)]
update for current systems

SCCS-vsn: share/man/man5/types.5 8.2

29 years agovipw was hanging on stop signals
Keith Bostic [Sat, 29 Apr 1995 08:12:44 +0000 (00:12 -0800)]
vipw was hanging on stop signals
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.sbin/vipw/pw_util.c 8.4

29 years agoadd another state, CP_INTR
Keith Bostic [Sat, 29 Apr 1995 08:08:54 +0000 (00:08 -0800)]
add another state, CP_INTR
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.sbin/iostat/iostat.c 8.3

29 years agoUpdated to the latest version from the NetBSD source
Christos Zoulas [Sat, 29 Apr 1995 08:08:34 +0000 (00:08 -0800)]
Updated to the latest version from the NetBSD source

SCCS-vsn: usr.bin/make/Makefile.dist 8.2
SCCS-vsn: usr.bin/make/arch.c 8.3
SCCS-vsn: usr.bin/make/bit.h 8.2
SCCS-vsn: usr.bin/make/buf.c 8.2
SCCS-vsn: usr.bin/make/buf.h 8.2
SCCS-vsn: usr.bin/make/compat.c 8.3
SCCS-vsn: usr.bin/make/cond.c 8.3
SCCS-vsn: usr.bin/make/config.h 8.2
SCCS-vsn: usr.bin/make/dir.c 8.3
SCCS-vsn: usr.bin/make/dir.h 8.2
SCCS-vsn: usr.bin/make/for.c 8.2
SCCS-vsn: usr.bin/make/hash.c 8.2
SCCS-vsn: usr.bin/make/hash.h 8.2
SCCS-vsn: usr.bin/make/job.c 8.3
SCCS-vsn: usr.bin/make/job.h 8.2
SCCS-vsn: usr.bin/make/list.h 8.2
SCCS-vsn: usr.bin/make/lst.h 8.2
SCCS-vsn: usr.bin/make/main.c 8.4
SCCS-vsn: usr.bin/make/make.1 8.6
SCCS-vsn: usr.bin/make/make.c 8.2
SCCS-vsn: usr.bin/make/make.h 8.2
SCCS-vsn: usr.bin/make/nonints.h 8.4
SCCS-vsn: usr.bin/make/parse.c 8.5
SCCS-vsn: usr.bin/make/pathnames.h 8.2
SCCS-vsn: usr.bin/make/sprite.h 8.2
SCCS-vsn: usr.bin/make/str.c 8.6
SCCS-vsn: usr.bin/make/suff.c 8.5
SCCS-vsn: usr.bin/make/targ.c 8.3
SCCS-vsn: usr.bin/make/var.c 8.4
SCCS-vsn: usr.bin/make/Makefile 8.2

29 years agoadd a sccsid header
Keith Bostic [Sat, 29 Apr 1995 08:05:23 +0000 (00:05 -0800)]
add a sccsid header

SCCS-vsn: usr.bin/kdump/mkioctls 8.2

29 years agomove relookup to vfs_lookup.c as it is not UFS specific (from mycroft)
Kirk McKusick [Sat, 29 Apr 1995 08:01:44 +0000 (00:01 -0800)]
move relookup to vfs_lookup.c as it is not UFS specific (from mycroft)

SCCS-vsn: sys/ufs/ufs/ufs_vnops.c 8.24

29 years agomove relookup in from ufs_vnops.c
Kirk McKusick [Sat, 29 Apr 1995 08:01:11 +0000 (00:01 -0800)]
move relookup in from ufs_vnops.c

SCCS-vsn: sys/kern/vfs_lookup.c 8.7

29 years agoMake an alias for `cksum' called `sum', which defaults to the
Keith Bostic [Sat, 29 Apr 1995 07:57:08 +0000 (23:57 -0800)]
Make an alias for `cksum' called `sum', which defaults to the
historical BSD algorithm.
Use err*(3)/warn*(3) (which becomes important for the alias).
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/cksum/cksum.c 8.2

29 years agoadd a statistic that netBSD keeps
Keith Sklower [Sat, 29 Apr 1995 07:53:21 +0000 (23:53 -0800)]
add a statistic that netBSD keeps

SCCS-vsn: sys/netinet/ip_mroute.h 8.2

29 years agoadd a sum(1), which matches the historic BSD algorithm
Keith Bostic [Sat, 29 Apr 1995 07:40:23 +0000 (23:40 -0800)]
add a sum(1), which matches the historic BSD algorithm

SCCS-vsn: usr.bin/cksum/cksum.1 8.2

29 years agocreate an alias for cksum named sum
Keith Bostic [Sat, 29 Apr 1995 07:38:58 +0000 (23:38 -0800)]
create an alias for cksum named sum

SCCS-vsn: usr.bin/cksum/Makefile 8.2

29 years agoSome KNF, POSIX, and err*(3)/warn*(3) cleanup. Also, use sys_signame[]rather than...
Keith Bostic [Sat, 29 Apr 1995 07:37:59 +0000 (23:37 -0800)]
Some KNF, POSIX, and err*(3)/warn*(3) cleanup.  Also, use sys_signame[]rather than a private, home-grown list.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/kdump/kdump.c 8.4

29 years agoincludes many changes, including some of vixie's and karel's
Keith Sklower [Sat, 29 Apr 1995 07:36:44 +0000 (23:36 -0800)]
includes many changes, including some of vixie's and karel's

SCCS-vsn: usr.bin/netstat/route.c 8.6

29 years agoAdd std copyright.
Thomas Ferrin [Sat, 29 Apr 1995 07:35:02 +0000 (23:35 -0800)]
Add std copyright.

SCCS-vsn: usr.sbin/lpr/common_source/aux.h 8.2
SCCS-vsn: usr.sbin/lpr/common_source/aux.c 8.2

29 years agoLONG_MIN and LONG_MAX need suffixes, and ULONG_MAX must either
Keith Bostic [Sat, 29 Apr 1995 07:30:15 +0000 (23:30 -0800)]
LONG_MIN and LONG_MAX need suffixes, and ULONG_MAX must either
be spelled in decimal, or suffixed.
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: sys/hp300/include/limits.h 8.4

29 years agoktrace is a kernel option, but the ktrace app reacts badly when it
Keith Bostic [Sat, 29 Apr 1995 07:21:27 +0000 (23:21 -0800)]
ktrace is a kernel option, but the ktrace app reacts badly when it
isn't compiled into the kernel.  also some knf changes.
From: Adam Glass <glass@NetBSD.ORG>

SCCS-vsn: usr.bin/ktrace/ktrace.c 8.2
SCCS-vsn: usr.bin/ktrace/subr.c 8.2

29 years agoNow that file descriptor limits are soft, and can be larger than
Keith Bostic [Sat, 29 Apr 1995 07:15:38 +0000 (23:15 -0800)]
Now that file descriptor limits are soft, and can be larger than
FD_SETSIZE, using the value of getdtablesize() as an input to select()
does not work.  We fixed this in our RPC code a while back.  Here's a
patch to make window(1) work more correctly.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/window/wwinit.c 8.2
SCCS-vsn: usr.bin/window/wwopen.c 8.2

29 years agoadd check for super block magic number, so it doesn't drop core
Keith Bostic [Sat, 29 Apr 1995 07:13:26 +0000 (23:13 -0800)]
add check for super block magic number, so it doesn't drop core
From: Adam Glass <glass@NetBSD.ORG>

SCCS-vsn: sbin/dumpfs/dumpfs.c 8.4

29 years agobasically you can screw with people's terminals by replacing the
Keith Bostic [Sat, 29 Apr 1995 07:11:59 +0000 (23:11 -0800)]
basically you can screw with people's terminals by replacing the
remote user name with escape codes and the like.  This change
vis(3)ifies that the remote user name before displaying it.
From: Adam Glass <glass@NetBSD.ORG>

SCCS-vsn: libexec/talkd/announce.c 8.3

29 years agodate and time created 95/04/28 16:11:19 by tef
Thomas Ferrin [Sat, 29 Apr 1995 07:11:19 +0000 (23:11 -0800)]
date and time created 95/04/28 16:11:19 by tef

SCCS-vsn: usr.sbin/lpr/common_source/aux.c 8.1

29 years agodate and time created 95/04/28 16:11:06 by tef
Thomas Ferrin [Sat, 29 Apr 1995 07:11:06 +0000 (23:11 -0800)]
date and time created 95/04/28 16:11:06 by tef

SCCS-vsn: usr.sbin/lpr/common_source/aux.h 8.1

29 years agoexterns.h -> extern.h
Keith Bostic [Sat, 29 Apr 1995 07:04:10 +0000 (23:04 -0800)]
externs.h -> extern.h

SCCS-vsn: games/sail/assorted.c 8.2
SCCS-vsn: games/sail/dr_4.c 8.2
SCCS-vsn: games/sail/dr_5.c 8.2
SCCS-vsn: games/sail/game.c 8.2
SCCS-vsn: games/sail/globals.c 8.2
SCCS-vsn: games/sail/lo_main.c 8.2
SCCS-vsn: games/sail/main.c 8.2
SCCS-vsn: games/sail/misc.c 8.2
SCCS-vsn: games/sail/parties.c 8.2
SCCS-vsn: games/sail/sync.c 8.2

29 years agoadd flags for (eventual) 7 -> 8 bit conversion
Eric Allman [Sat, 29 Apr 1995 06:42:51 +0000 (22:42 -0800)]
add flags for (eventual) 7 -> 8 bit conversion

SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 8.130

29 years agoexterns.h -> extern.h
Keith Bostic [Sat, 29 Apr 1995 06:42:22 +0000 (22:42 -0800)]
externs.h -> extern.h

SCCS-vsn: games/battlestar/globals.c 8.2
SCCS-vsn: games/battlestar/init.c 8.2
SCCS-vsn: games/battlestar/misc.c 8.2
SCCS-vsn: games/battlestar/nightfile.c 8.2
SCCS-vsn: games/battlestar/nightobjs.c 8.2
SCCS-vsn: games/battlestar/parse.c 8.2
SCCS-vsn: games/battlestar/room.c 8.2
SCCS-vsn: games/battlestar/save.c 8.2
SCCS-vsn: games/battlestar/words.c 8.2

29 years agoBetter portability to other systems.
Thomas Ferrin [Sat, 29 Apr 1995 06:41:59 +0000 (22:41 -0800)]
Better portability to other systems.

SCCS-vsn: usr.sbin/lpr/lpr/lpr.c 8.4

29 years agoexterns.h -> extern.h
Keith Bostic [Sat, 29 Apr 1995 06:41:59 +0000 (22:41 -0800)]
externs.h -> extern.h

SCCS-vsn: games/battlestar/battlestar.c 8.2
SCCS-vsn: games/battlestar/com1.c 8.2
SCCS-vsn: games/battlestar/com2.c 8.2
SCCS-vsn: games/battlestar/com3.c 8.2
SCCS-vsn: games/battlestar/com4.c 8.2
SCCS-vsn: games/battlestar/com5.c 8.2
SCCS-vsn: games/battlestar/com6.c 8.2
SCCS-vsn: games/battlestar/com7.c 8.2
SCCS-vsn: games/battlestar/cypher.c 8.2
SCCS-vsn: games/battlestar/dayfile.c 8.2
SCCS-vsn: games/battlestar/dayobjs.c 8.2
SCCS-vsn: games/battlestar/fly.c 8.2

29 years agoBetter portability to other systems.
Thomas Ferrin [Sat, 29 Apr 1995 06:41:30 +0000 (22:41 -0800)]
Better portability to other systems.

SCCS-vsn: usr.sbin/lpr/lpc/cmds.c 8.2
SCCS-vsn: usr.sbin/lpr/lpc/lpc.c 8.3

29 years agoexterns.h -> extern.h
Keith Bostic [Sat, 29 Apr 1995 06:39:51 +0000 (22:39 -0800)]
externs.h -> extern.h

SCCS-vsn: admin/style/style 1.14

29 years agoBetter portability to other systems.
Thomas Ferrin [Sat, 29 Apr 1995 06:39:34 +0000 (22:39 -0800)]
Better portability to other systems.

SCCS-vsn: usr.sbin/lpr/common_source/common.c 8.5
SCCS-vsn: usr.sbin/lpr/common_source/printcap.c 8.2
SCCS-vsn: usr.sbin/lpr/common_source/displayq.c 8.4
SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 8.6
SCCS-vsn: usr.sbin/lpr/lpd/lpd.c 8.6

29 years agoSwitch order rows and cols are extracted from the command line.
Keith Bostic [Sat, 29 Apr 1995 06:34:18 +0000 (22:34 -0800)]
Switch order rows and cols are extracted from the command line.
From: "J.T. Conklin" <jtc@NetBSD.ORG>

SCCS-vsn: usr.bin/tput/tput.c 8.3

29 years agomissing trailng host argument, sort flags
Keith Bostic [Sat, 29 Apr 1995 06:29:29 +0000 (22:29 -0800)]
missing trailng host argument, sort flags
From: Adam Glass <glass@NetBSD.ORG>

SCCS-vsn: sbin/ping/ping.8 8.3

29 years agoEnd of group (virtual) operators were sometimes dumping core because
Keith Bostic [Sat, 29 Apr 1995 06:26:33 +0000 (22:26 -0800)]
End of group (virtual) operators were sometimes dumping core because
the memory wasn't being properly initialized.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/sed/compile.c 8.2

29 years agoname pollution; From: Donn Seeley <donn@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 06:23:14 +0000 (22:23 -0800)]
name pollution; From: Donn Seeley <donn@BSDI.COM>

SCCS-vsn: lib/libc/stdlib/radixsort.c 8.2

29 years agoThis man page refers to libc(3). There is no such beast
Keith Bostic [Sat, 29 Apr 1995 06:21:34 +0000 (22:21 -0800)]
This man page refers to libc(3). There is no such beast
From: mark@alias.com (Mark Andrews)

SCCS-vsn: share/man/man3/intro.3 8.2

29 years agounused variable in example; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 06:20:45 +0000 (22:20 -0800)]
unused variable in example; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: share/man/man3/stdarg.3 8.2

29 years agokvm_open should have been kvm_openfiles
Keith Bostic [Sat, 29 Apr 1995 06:18:29 +0000 (22:18 -0800)]
kvm_open should have been kvm_openfiles
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/fstat/fstat.c 8.2

29 years agoadd the -o option to the usage statement
Keith Bostic [Sat, 29 Apr 1995 05:56:59 +0000 (21:56 -0800)]
add the -o option to the usage statement
From: "Charles M. Hannum" <mycroft@gnu.ai.mit.edu>

SCCS-vsn: bin/ls/util.c 8.5

29 years agoThis fixes some bogosity when different kinds of `-fstype' option are
Keith Bostic [Sat, 29 Apr 1995 05:55:38 +0000 (21:55 -0800)]
This fixes some bogosity when different kinds of `-fstype' option are
mixed; e.g. `-fstype local ! -fstype fdesc'.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/find/function.c 8.9

29 years agonfsd(8) wasn't dealing with the death of a child correctly.
Keith Bostic [Sat, 29 Apr 1995 05:47:40 +0000 (21:47 -0800)]
nfsd(8) wasn't dealing with the death of a child correctly.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/nfsd/nfsd.c 8.10
SCCS-vsn: sbin/nfsd/nfsd.c 8.10

29 years agoThis fixes some bogosity when different kinds of `-fstype' option are
Keith Bostic [Sat, 29 Apr 1995 05:42:59 +0000 (21:42 -0800)]
This fixes some bogosity when different kinds of `-fstype' option are
mixed; e.g. `-fstype local ! -fstype fdesc'.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/find/function.c 8.9

29 years agovoid *, not void; From: Craig Leres <leres@ee.lbl.gov>
Keith Bostic [Sat, 29 Apr 1995 05:40:15 +0000 (21:40 -0800)]
void *, not void; From: Craig Leres <leres@ee.lbl.gov>

SCCS-vsn: lib/libc/gen/setmode.3 8.2

29 years agocompress(1) was tossing the `-b' argument, though this is a slightly
Keith Bostic [Sat, 29 Apr 1995 05:39:43 +0000 (21:39 -0800)]
compress(1) was tossing the `-b' argument, though this is a slightly
more general bug.  This could manifest itself fairly seriously if you
try to read a file compressed with a different number of bits.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/compress/zopen.c 8.2

29 years ago`id username' was printing the wrong primary group name.
Keith Bostic [Sat, 29 Apr 1995 05:38:39 +0000 (21:38 -0800)]
`id username' was printing the wrong primary group name.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/id/id.c 8.3

29 years agowrong interface printf
Keith Bostic [Sat, 29 Apr 1995 05:37:59 +0000 (21:37 -0800)]
wrong interface printf
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/netstat/mroute.c 8.2

29 years agoalign the link-level address under the column title `Address'
Keith Bostic [Sat, 29 Apr 1995 05:37:35 +0000 (21:37 -0800)]
align the link-level address under the column title `Address'
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/netstat/if.c 8.3

29 years agolint type for group IDs; From: Charles Hannum <mycroft@NetBSD.ORG>
Keith Bostic [Sat, 29 Apr 1995 05:33:25 +0000 (21:33 -0800)]
lint type for group IDs; From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/quota/quota.c 8.4

29 years agoadd a '--' option before the user name, to avoid rlogin -l '-froot'
Keith Bostic [Sat, 29 Apr 1995 05:31:00 +0000 (21:31 -0800)]
add a '--' option before the user name, to avoid rlogin -l '-froot'
use execle to pass the fabricated environment, quit whacking 'environ'
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: libexec/rlogind/rlogind.c 8.2

29 years agostrip.c fails to close short files, does not use library err/warn
Keith Bostic [Sat, 29 Apr 1995 05:27:00 +0000 (21:27 -0800)]
strip.c fails to close short files, does not use library err/warn
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/strip/strip.c 8.2

29 years agosection Xref should be .Sx; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 05:25:20 +0000 (21:25 -0800)]
section Xref should be .Sx; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/join/join.1 8.3

29 years agoclarify `join -a 1'; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 05:24:48 +0000 (21:24 -0800)]
clarify `join -a 1'; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/join/join.1 8.2

29 years agoprettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>
Keith Bostic [Sat, 29 Apr 1995 05:22:09 +0000 (21:22 -0800)]
prettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/routed/defs.h 8.2
SCCS-vsn: sbin/routed/if.c 8.2
SCCS-vsn: sbin/routed/input.c 8.3
SCCS-vsn: sbin/routed/query/query.c 8.3
SCCS-vsn: sbin/newfs/newfs.c 8.11
SCCS-vsn: sbin/route/route.c 8.6

29 years agobcmp is obsolete
Keith Bostic [Sat, 29 Apr 1995 05:19:37 +0000 (21:19 -0800)]
bcmp is obsolete

SCCS-vsn: sbin/ping/ping.c 8.3

29 years agoPOSIX says that -s precedes init signal names
Keith Bostic [Sat, 29 Apr 1995 05:18:29 +0000 (21:18 -0800)]
POSIX says that -s precedes init signal names
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/init/init.8 8.5
SCCS-vsn: sbin/mountd/mountd.8 8.4
SCCS-vsn: share/doc/smm/01.setup/4.t 8.3
SCCS-vsn: usr.bin/leave/leave.1 8.3
SCCS-vsn: usr.sbin/amd/text/INSTALL 8.2

29 years agovacation trivia
Keith Bostic [Sat, 29 Apr 1995 05:12:36 +0000 (21:12 -0800)]
vacation trivia
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/vacation/vacation.1 8.2

29 years agoFixed case where output is returned with -c option and empty file.
Keith Bostic [Sat, 29 Apr 1995 05:11:58 +0000 (21:11 -0800)]
Fixed case where output is returned with -c option and empty file.
(POSIX 1003.2 D11.2 section 4.69.6.2)
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/uniq/uniq.c 8.2

29 years agoWe lost when dealing with mappings with unequal ranges, for example
Keith Bostic [Sat, 29 Apr 1995 05:11:17 +0000 (21:11 -0800)]
We lost when dealing with mappings with unequal ranges, for example
'tr A-Z N-ZA-M', because we didn't skip over the terminating character
of the range when processing it.  This works when the ranges line up
since they map terminating character to terminating character correctly,
but fails when one range maps into two, or with other odd combinations.
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/tr/str.c 8.2

29 years agoMembers of group "operator" can execute privildged commands.
Thomas Ferrin [Sat, 29 Apr 1995 04:36:50 +0000 (20:36 -0800)]
Members of group "operator" can execute privildged commands.

SCCS-vsn: usr.sbin/lpr/lpc/lpc.c 8.2
SCCS-vsn: usr.sbin/lpr/lpc/lpc.8 8.5

29 years agoCenturies, not millennia; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:52:18 +0000 (19:52 -0800)]
Centuries, not millennia; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/touch/touch.c 8.2

29 years agotypo; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:51:41 +0000 (19:51 -0800)]
typo; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/touch/touch.1 8.3

29 years agonice dumps core w/ no args
Keith Bostic [Sat, 29 Apr 1995 03:51:15 +0000 (19:51 -0800)]
nice dumps core w/ no args
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/nice/nice.c 8.3

29 years agoremove gtty/stty calls from msgs
Keith Bostic [Sat, 29 Apr 1995 03:49:07 +0000 (19:49 -0800)]
remove gtty/stty calls from msgs
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/msgs/msgs.c 8.2

29 years agomsgs.1 wrong path;From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:48:26 +0000 (19:48 -0800)]
msgs.1 wrong path;From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/msgs/msgs.1 8.2

29 years agomsgs Makefile does not need -lcompat
Keith Bostic [Sat, 29 Apr 1995 03:47:56 +0000 (19:47 -0800)]
msgs Makefile does not need -lcompat

SCCS-vsn: usr.bin/msgs/Makefile 8.2

29 years agoflush before trunc when opened for append
Keith Bostic [Sat, 29 Apr 1995 03:47:14 +0000 (19:47 -0800)]
flush before trunc when opened for append
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/mail/quit.c 8.2

29 years agothe default path is /var/mail, not /var/spool/mail...
Keith Bostic [Sat, 29 Apr 1995 03:46:48 +0000 (19:46 -0800)]
the default path is /var/mail, not /var/spool/mail...
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/mail/mail.1 8.8

29 years agotypo; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:46:00 +0000 (19:46 -0800)]
typo; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/lorder/lorder.1 8.2

29 years agomore misuse of NULL, plus my version of Craig Leres's fix for PARITY chars
Keith Bostic [Sat, 29 Apr 1995 03:45:22 +0000 (19:45 -0800)]
more misuse of NULL, plus my version of Craig Leres's fix for PARITY chars
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/locate/code/locate.code.c 8.3

29 years agoneed return value for sparc; clean up offensive misuse of NULL too
Keith Bostic [Sat, 29 Apr 1995 03:43:25 +0000 (19:43 -0800)]
need return value for sparc; clean up offensive misuse of NULL too
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/locate/bigram/locate.bigram.c 8.2

29 years agounspecified changes!! From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:42:14 +0000 (19:42 -0800)]
unspecified changes!! From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/join/join.c 8.4

29 years agofixed bug with -d leaving seperators; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:41:26 +0000 (19:41 -0800)]
fixed bug with -d leaving seperators; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/cut/cut.c 8.2

29 years agoavoid extra newline if no input; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:40:46 +0000 (19:40 -0800)]
avoid extra newline if no input; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/col/col.c 8.4

29 years agofixed argument synopsis; From: Chris Torek <torek@BSDI.COM>
Keith Bostic [Sat, 29 Apr 1995 03:40:13 +0000 (19:40 -0800)]
fixed argument synopsis; From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/cal/cal.1 8.2

29 years agoprettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>
Keith Bostic [Sat, 29 Apr 1995 03:37:56 +0000 (19:37 -0800)]
prettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/shutdown/shutdown.c 8.4

29 years agoAdded -a flag.
Thomas Ferrin [Sat, 29 Apr 1995 03:34:11 +0000 (19:34 -0800)]
Added -a flag.

SCCS-vsn: usr.sbin/lpr/lpq/lpq.1 8.2
SCCS-vsn: usr.sbin/lpr/lpq/lpq.c 8.2

29 years agoSupport for printers connected via ethernet/TCP and terminal servers.
Thomas Ferrin [Sat, 29 Apr 1995 03:16:50 +0000 (19:16 -0800)]
Support for printers connected via ethernet/TCP and terminal servers.

SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 8.5
SCCS-vsn: usr.sbin/lpr/common_source/lp.h 8.2
SCCS-vsn: usr.sbin/lpr/common_source/common.c 8.4
SCCS-vsn: usr.sbin/lpr/common_source/displayq.c 8.3
SCCS-vsn: usr.sbin/lpr/common_source/rmjob.c 8.2

29 years agoBetter error handling and diagnostics.
Thomas Ferrin [Sat, 29 Apr 1995 02:34:52 +0000 (18:34 -0800)]
Better error handling and diagnostics.

SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 8.4

29 years agoprettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>
Keith Bostic [Sat, 29 Apr 1995 02:18:16 +0000 (18:18 -0800)]
prettiness police; From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/disklabel/disklabel.c 8.3
SCCS-vsn: sbin/dump/dump.h 8.2
SCCS-vsn: sbin/dump/dumprmt.c 8.3
SCCS-vsn: sbin/dump/main.c 8.5
SCCS-vsn: sbin/dump/tape.c 8.3
SCCS-vsn: sbin/dump/traverse.c 8.4
SCCS-vsn: sbin/fsck/dir.c 8.8
SCCS-vsn: sbin/fsck/inode.c 8.8
SCCS-vsn: sbin/fsck/pass1.c 8.6
SCCS-vsn: sbin/fsck/pass1b.c 8.4
SCCS-vsn: sbin/fsck/pass2.c 8.9
SCCS-vsn: sbin/fsck/pass4.c 8.4
SCCS-vsn: sbin/fsck/pass5.c 8.9
SCCS-vsn: sbin/fsck/preen.c 8.5
SCCS-vsn: sbin/fsck/setup.c 8.9
SCCS-vsn: sbin/fsck/utilities.c 8.4
SCCS-vsn: sbin/init/init.c 8.2
SCCS-vsn: sbin/mount_nfs/mount_nfs.c 8.10
SCCS-vsn: sbin/mount_portal/activate.c 8.3
SCCS-vsn: sbin/mount_portal/pt_tcp.c 8.5
SCCS-vsn: sbin/mountd/mountd.c 8.14
SCCS-vsn: sbin/newfs/mkfs.c 8.8
SCCS-vsn: sbin/newfs/newfs.c 8.10
SCCS-vsn: sbin/newlfs/lfs.c 8.3
SCCS-vsn: sbin/newlfs/newfs.c 8.4
SCCS-vsn: sbin/ping/ping.c 8.2
SCCS-vsn: sbin/quotacheck/quotacheck.c 8.6
SCCS-vsn: sbin/restore/dirs.c 8.6
SCCS-vsn: sbin/restore/interactive.c 8.4
SCCS-vsn: sbin/restore/symtab.c 8.3
SCCS-vsn: sbin/restore/tape.c 8.8
SCCS-vsn: sbin/restore/utilities.c 8.5
SCCS-vsn: sbin/route/ccitt_addr.c 8.2
SCCS-vsn: sbin/route/route.c 8.5
SCCS-vsn: sbin/routed/input.c 8.2
SCCS-vsn: sbin/routed/output.c 8.2
SCCS-vsn: sbin/routed/startup.c 8.2
SCCS-vsn: sbin/routed/tables.c 8.2
SCCS-vsn: sbin/routed/trace.c 8.2
SCCS-vsn: sbin/routed/trace/trace.c 8.2
SCCS-vsn: sbin/routed/query/query.c 8.2
SCCS-vsn: sbin/savecore/savecore.c 8.5

29 years agoprettiness police
Keith Bostic [Sat, 29 Apr 1995 01:24:03 +0000 (17:24 -0800)]
prettiness police
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/dumplfs/dumplfs.c 8.3
SCCS-vsn: sbin/dumplfs/extern.h 8.2
SCCS-vsn: sbin/dumplfs/misc.c 8.2
SCCS-vsn: bin/sh/alias.c 8.2
SCCS-vsn: bin/sh/exec.c 8.2
SCCS-vsn: bin/sh/jobs.c 8.4
SCCS-vsn: bin/sh/memalloc.c 8.2
SCCS-vsn: bin/sh/parser.c 8.4
SCCS-vsn: bin/sh/var.c 8.2

29 years agoprettiness police
Keith Bostic [Sat, 29 Apr 1995 01:17:10 +0000 (17:17 -0800)]
prettiness police

SCCS-vsn: sbin/dumpfs/dumpfs.c 8.3

29 years agoprettiness police
Keith Bostic [Sat, 29 Apr 1995 01:16:04 +0000 (17:16 -0800)]
prettiness police
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: sbin/clri/clri.c 8.3
SCCS-vsn: sbin/dump/dumprmt.c 8.2

29 years agogetwd(3) is deprecated, and pwd(1) uses getcwd(3) internally anyway.
Keith Bostic [Sat, 29 Apr 1995 01:10:11 +0000 (17:10 -0800)]
getwd(3) is deprecated, and pwd(1) uses getcwd(3) internally anyway.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/pwd/pwd.1 8.2

29 years agoPOSIX.2 compliance
Keith Bostic [Sat, 29 Apr 1995 01:07:04 +0000 (17:07 -0800)]
POSIX.2 compliance
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/kill/kill.1 8.2
SCCS-vsn: bin/kill/kill.c 8.4

29 years agoprettiness police
Keith Bostic [Sat, 29 Apr 1995 00:48:20 +0000 (16:48 -0800)]
prettiness police
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/hostname/hostname.1 8.2
SCCS-vsn: bin/hostname/hostname.c 8.2

29 years agoPOSIX.2 states that user-defined formats are always followed by a
Keith Bostic [Sat, 29 Apr 1995 00:46:19 +0000 (16:46 -0800)]
POSIX.2 states that user-defined formats are always followed by a
<newline>
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/date/date.c 8.2

29 years agoThe sin_zero field of one of the sockaddr's wasn't being zeroed.
Keith Bostic [Sat, 29 Apr 1995 00:45:40 +0000 (16:45 -0800)]
The sin_zero field of one of the sockaddr's wasn't being zeroed.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/date/netdate.c 8.2

29 years agoPOSIX.2 states that user-defined formats are always followed by a
Keith Bostic [Sat, 29 Apr 1995 00:45:21 +0000 (16:45 -0800)]
POSIX.2 states that user-defined formats are always followed by a
<newline>
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/date/date.1 8.3

29 years agodon't overwrite a directory with some other type of file, i.e.
Keith Bostic [Sat, 29 Apr 1995 00:34:03 +0000 (16:34 -0800)]
don't overwrite a directory with some other type of file, i.e.
don't attempt to unlink a directory
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/cp/cp.c 8.3

29 years agothe checkuser() function compared p against name, but p points to
Keith Bostic [Sat, 29 Apr 1995 00:31:42 +0000 (16:31 -0800)]
the checkuser() function compared p against name, but p points to
the end of the line, not the beginning.
From: "J.T. Conklin" <jtc@NetBSD.ORG>

SCCS-vsn: libexec/ftpd/ftpd.c 8.5

29 years agoformatting error in NetBSD's version
Keith Bostic [Sat, 29 Apr 1995 00:30:08 +0000 (16:30 -0800)]
formatting error in NetBSD's version
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ar/ar.1 8.4

29 years agoreapply Kirk's 6.11 revision to the new page
Keith Bostic [Sat, 29 Apr 1995 00:29:18 +0000 (16:29 -0800)]
reapply Kirk's 6.11 revision to the new page

SCCS-vsn: usr.bin/ar/ar.1 8.3

29 years agoconvert to mandoc (starting with version 6.10)
Keith Bostic [Sat, 29 Apr 1995 00:26:20 +0000 (16:26 -0800)]
convert to mandoc (starting with version 6.10)
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ar/ar.1 8.2

29 years agoBug fixes.
Thomas Ferrin [Fri, 28 Apr 1995 12:38:42 +0000 (04:38 -0800)]
Bug fixes.

SCCS-vsn: usr.sbin/lpr/common_source/common.c 8.3
SCCS-vsn: usr.sbin/lpr/common_source/displayq.c 8.2
SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 8.3
SCCS-vsn: usr.sbin/lpr/lpd/recvjob.c 8.2
SCCS-vsn: usr.sbin/lpr/lpd/lpd.c 8.5

29 years agoprettiness police
Keith Bostic [Fri, 28 Apr 1995 08:04:02 +0000 (00:04 -0800)]
prettiness police
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/cat/cat.c 8.2

29 years agoCorrect test for return value of getopt(3).
Keith Bostic [Fri, 28 Apr 1995 08:02:14 +0000 (00:02 -0800)]
Correct test for return value of getopt(3).
Don't prompt twice to remove a directory.
Don't print two error messages if a directory could not be removed.
Get rid of bogus extra variable in rm_file().
Add `-P' and -W options to usage string; random lint and prettiness police
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: bin/rm/rm.c 8.8

29 years agomake write(1) use the err*(3) and warn*(3) functions
Keith Bostic [Fri, 28 Apr 1995 07:55:36 +0000 (23:55 -0800)]
make write(1) use the err*(3) and warn*(3) functions
rindex -> strrchr
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/write/write.c 8.2