unix-history/.git
29 years agoMake "/:y" and abbreviation for "/subject:y".
Dave A. Borman [Mon, 1 May 1995 21:37:49 +0000 (13:37 -0800)]
Make "/:y" and abbreviation for "/subject:y".

SCCS-vsn: usr.bin/mail/list.c 8.4

29 years agoinitialize the key member of the arrow key struct.
Christos Zoulas [Mon, 1 May 1995 09:12:08 +0000 (01:12 -0800)]
initialize the key member of the arrow key struct.

SCCS-vsn: lib/libedit/term.c 8.2

29 years agoI changed the printout for the t_session field since in MIPS,
Keith Bostic [Mon, 1 May 1995 00:15:05 +0000 (16:15 -0800)]
I changed the printout for the t_session field since in MIPS,
the address can be 0x80000000 to 0xC0000000 and masking the high
order bit off still generates a 7 digit address (instead of only 6
for the print field).
From: ralphc@pyramid.com (Ralph Campbell)

SCCS-vsn: usr.sbin/pstat/pstat.c 8.14

29 years agoI didn't buy back the random name changes, so make it compile
Keith Bostic [Mon, 1 May 1995 00:12:41 +0000 (16:12 -0800)]
I didn't buy back the random name changes, so make it compile

SCCS-vsn: games/battlestar/init.c 8.4

29 years agofix NULL pointer bug. From: ralphc@pyramid.com (Ralph Campbell)
Keith Bostic [Mon, 1 May 1995 00:10:19 +0000 (16:10 -0800)]
fix NULL pointer bug. From: ralphc@pyramid.com (Ralph Campbell)

SCCS-vsn: games/battlestar/init.c 8.3

29 years agobogus attempt to do 7->8 bit conversion
Eric Allman [Sun, 30 Apr 1995 07:35:59 +0000 (23:35 -0800)]
bogus attempt to do 7->8 bit conversion

SCCS-vsn: usr.sbin/sendmail/src/mime.c 8.19.1.1

29 years agosmall typo fix from Chris Torek
Christos Zoulas [Sun, 30 Apr 1995 04:10:22 +0000 (20:10 -0800)]
small typo fix from Chris Torek

SCCS-vsn: usr.bin/make/make.1 8.7

29 years agoFixes from Chris Demetriou and Charles Hannum
Christos Zoulas [Sun, 30 Apr 1995 04:09:09 +0000 (20:09 -0800)]
Fixes from Chris Demetriou and Charles Hannum

SCCS-vsn: bin/csh/lex.c 8.2
SCCS-vsn: bin/csh/dol.c 8.2
SCCS-vsn: bin/csh/csh.c 8.4
SCCS-vsn: bin/csh/csh.h 8.2
SCCS-vsn: bin/csh/dir.c 8.2
SCCS-vsn: bin/csh/sem.c 8.3

29 years agochange devname(3) to return NULL, not ??
Keith Bostic [Sun, 30 Apr 1995 02:53:37 +0000 (18:53 -0800)]
change devname(3) to return NULL, not ??

SCCS-vsn: usr.sbin/pstat/pstat.c 8.13

29 years agochange devname(3) to return NULL on error
Keith Bostic [Sun, 30 Apr 1995 02:50:50 +0000 (18:50 -0800)]
change devname(3) to return NULL on error

SCCS-vsn: usr.bin/systat/swap.c 8.3

29 years agowas returning NULL on error, dropping core
Keith Bostic [Sun, 30 Apr 1995 02:50:27 +0000 (18:50 -0800)]
was returning NULL on error, dropping core

SCCS-vsn: usr.bin/systat/cmds.c 8.2

29 years agochange devname to return NULL, not ??
Keith Bostic [Sun, 30 Apr 1995 02:36:46 +0000 (18:36 -0800)]
change devname to return NULL, not ??

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

29 years agochange devname(3) to return NULL on error, not "??"
Keith Bostic [Sun, 30 Apr 1995 02:29:17 +0000 (18:29 -0800)]
change devname(3) to return NULL on error, not "??"

SCCS-vsn: lib/libc/gen/devname.c 8.2
SCCS-vsn: lib/libc/gen/devname.3 8.2

29 years agoCorrected message when no rotational position table is found.
Keith Bostic [Sun, 30 Apr 1995 02:20:53 +0000 (18:20 -0800)]
Corrected message when no rotational position table is found.
Added a "clean" field to the output - to show the state of the clean flag.
From: David Greenman <davidg@Root.COM>

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

29 years agoAndy Cherenson's hack to understand user@remote.host just like rcp
Vernon Schryver [Sun, 30 Apr 1995 01:35:03 +0000 (17:35 -0800)]
Andy Cherenson's hack to understand user@remote.host just like rcp
Checked in for Vernon Schryver <vjs@calcite.rhyolite.com>.

SCCS-vsn: usr.bin/rlogin/rlogin.1 8.2
SCCS-vsn: usr.bin/rlogin/rlogin.c 8.4
SCCS-vsn: usr.bin/rsh/rsh.1 8.2
SCCS-vsn: usr.bin/rsh/rsh.c 8.4

29 years agochanges to byacc 1.9 for dynamic stack expansion
Keith Bostic [Sun, 30 Apr 1995 01:30:57 +0000 (17:30 -0800)]
changes to byacc 1.9 for dynamic stack expansion
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/yacc/skeleton.c 5.8

29 years agofix the prototype for ftell
Keith Bostic [Sun, 30 Apr 1995 01:22:16 +0000 (17:22 -0800)]
fix the prototype for ftell
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: include/stdio.h 8.5

29 years agoconvert man page to mandoc format, minor cleanups
Keith Bostic [Sun, 30 Apr 1995 01:21:39 +0000 (17:21 -0800)]
convert man page to mandoc format, minor cleanups
Me and From: Adam Glass  <glass@netbsd.org>

SCCS-vsn: usr.bin/banner/banner.c 8.4
SCCS-vsn: usr.bin/banner/banner.6 8.2

29 years agoBasically err(3)ification + an include fix.
Keith Bostic [Sun, 30 Apr 1995 01:12:07 +0000 (17:12 -0800)]
Basically err(3)ification + an include fix.
From: Adam Glass  <glass@netbsd.org>

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

29 years agoIt failed to compile on the sparc because `swapresponse' was
Keith Bostic [Sun, 30 Apr 1995 01:09:51 +0000 (17:09 -0800)]
It failed to compile on the sparc because `swapresponse' was
ifdef'ed on vax, sun, i386 (but not sparc).  I made it pass gcc2 -Wall.
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: old/talk/talk/ctl.c 1.6
SCCS-vsn: old/talk/talk/ctl_transact.c 1.5
SCCS-vsn: old/talk/talk/display.c 8.3
SCCS-vsn: old/talk/talk/get_addrs.c 8.3
SCCS-vsn: old/talk/talk/get_names.c 8.3
SCCS-vsn: old/talk/talk/init_disp.c 1.5
SCCS-vsn: old/talk/talk/invite.c 5.4
SCCS-vsn: old/talk/talk/io.c 5.4
SCCS-vsn: old/talk/talk/look_up.c 6.5
SCCS-vsn: old/talk/talk/msgs.c 5.4
SCCS-vsn: old/talk/talk/talk.c 8.3
SCCS-vsn: old/talk/talk/talk.h 5.4
SCCS-vsn: old/talk/talk/talk_ctl.h 8.3

29 years agocp -R didn't work correctly for FIFO's (programmer head space error)
Keith Bostic [Sun, 30 Apr 1995 01:02:07 +0000 (17:02 -0800)]
cp -R didn't work correctly for FIFO's (programmer head space error)
From: "Charles M. Hannum" <mycroft@gnu.ai.mit.edu>

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

29 years agobool means something to C++
Keith Bostic [Sun, 30 Apr 1995 01:01:18 +0000 (17:01 -0800)]
bool means something to C++
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: lib/libcurses/curses.h 8.5

29 years agoOperator precedence bug, "setlogmask(LOG_UPTO(LOG_INFO))" wasn't
Keith Bostic [Sun, 30 Apr 1995 01:00:17 +0000 (17:00 -0800)]
Operator precedence bug, "setlogmask(LOG_UPTO(LOG_INFO))" wasn't
working.
From: Ted Lemon <mellon@fugue.com>

SCCS-vsn: lib/libc/gen/syslog.c 8.5

29 years agoThere were several places where m4 did not conform to the specification
Keith Bostic [Sun, 30 Apr 1995 00:56:51 +0000 (16:56 -0800)]
There were several places where m4 did not conform to the specification
in `The M4 Macro Processor', by Kernighan and Ritchie.  The following
patch addresses them.
* `|' and `||' are both logical or.  There is no binary or.
* `&' and `&&' are both logical and.  There is no binary and.
* `!' has a much higher precedence.
* The equal and relation operators have the same precedence.
* `**' is implemented, and `^' is for exponentation (not xor).
* Unary `+' in implemented.
From: "Charles M. Hannum" <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/m4/expr.c 8.2

29 years agoreplace flex-2.4.6 with flex-2.5.2
Keith Bostic [Sun, 30 Apr 1995 00:29:47 +0000 (16:29 -0800)]
replace flex-2.4.6 with flex-2.5.2

SCCS-vsn: contrib/Makefile 8.13

29 years agodocumentation
Eric Allman [Sat, 29 Apr 1995 22:43:26 +0000 (14:43 -0800)]
documentation

SCCS-vsn: usr.sbin/sendmail/src/usersmtp.c 8.51

29 years agotruncate first space of second and subsequent 220 greeting messages
Eric Allman [Sat, 29 Apr 1995 22:41:30 +0000 (14:41 -0800)]
truncate first space of second and subsequent 220 greeting messages

SCCS-vsn: usr.sbin/sendmail/src/srvrsmtp.c 8.71

29 years agobetter (more accurate) labelling of 8bit code
Eric Allman [Sat, 29 Apr 1995 22:41:28 +0000 (14:41 -0800)]
better (more accurate) labelling of 8bit code

SCCS-vsn: usr.sbin/sendmail/src/usersmtp.c 8.50
SCCS-vsn: usr.sbin/sendmail/src/headers.c 8.60
SCCS-vsn: usr.sbin/sendmail/src/collect.c 8.40

29 years agoDocument tef's enhancements to lpd.
Thomas Ferrin [Sat, 29 Apr 1995 09:52:31 +0000 (01:52 -0800)]
Document tef's enhancements to lpd.

SCCS-vsn: share/man/man5/printcap.5 8.4

29 years agouse memmove, not memcpy
Keith Bostic [Sat, 29 Apr 1995 08:36:39 +0000 (00:36 -0800)]
use memmove, not memcpy

SCCS-vsn: usr.bin/finger/finger.c 8.4
SCCS-vsn: usr.bin/finger/lprint.c 8.3
SCCS-vsn: usr.bin/finger/sprint.c 8.3
SCCS-vsn: usr.bin/finger/util.c 8.3

29 years agoYou may have already done the same (does the Alpha have alignment
Keith Bostic [Sat, 29 Apr 1995 08:35:57 +0000 (00:35 -0800)]
You may have already done the same (does the Alpha have alignment
constraints? I think it does...).  I also changed it to use the libc
err, instead of its own, and fixed most of the `gcc -Wall' complaints.
The important changes are to memcpy the pointers from db->get and db->seq.
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.bin/finger/extern.h 8.2
SCCS-vsn: usr.bin/finger/finger.c 8.3
SCCS-vsn: usr.bin/finger/lprint.c 8.2
SCCS-vsn: usr.bin/finger/net.c 8.4
SCCS-vsn: usr.bin/finger/sprint.c 8.2
SCCS-vsn: usr.bin/finger/util.c 8.2

29 years agoBefore I started to make changes, I fixed all the things cc -Wall
Keith Bostic [Sat, 29 Apr 1995 08:33:50 +0000 (00:33 -0800)]
Before I started to make changes, I fixed all the things cc -Wall
and gcc2 -Wall complained about; here are the diffs for that.
From: Chris Torek <torek@BSDI.COM>

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

29 years agost_size may be a quad, not a long
Keith Bostic [Sat, 29 Apr 1995 08:32:17 +0000 (00:32 -0800)]
st_size may be a quad, not a long

SCCS-vsn: usr.sbin/mtree/spec.c 8.2

29 years agoarpwhohas prototyped twice
Keith Bostic [Sat, 29 Apr 1995 08:30:03 +0000 (00:30 -0800)]
arpwhohas prototyped twice

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

29 years agoP80 is the 80Mbit ring
Keith Bostic [Sat, 29 Apr 1995 08:29:18 +0000 (00:29 -0800)]
P80 is the 80Mbit ring

SCCS-vsn: sys/net/if_types.h 8.3

29 years agowordexp(3) has never existed
Keith Bostic [Sat, 29 Apr 1995 08:28:38 +0000 (00:28 -0800)]
wordexp(3) has never existed

SCCS-vsn: lib/libc/gen/fnmatch.3 8.3

29 years agopgraded to the latest version from NetBSD
Christos Zoulas [Sat, 29 Apr 1995 08:23:15 +0000 (00:23 -0800)]
pgraded to the latest version from NetBSD

SCCS-vsn: usr.bin/make/lst.lib/lstInt.h 8.2

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