unix-history/.git
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

29 years agoNull pointer dereference
Keith Bostic [Fri, 28 Apr 1995 07:51:06 +0000 (23:51 -0800)]
Null pointer dereference
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: lib/libc/gen/getnetgrent.c 8.2

29 years agoerror() wasn't printing the error string, even though it should
Keith Bostic [Fri, 28 Apr 1995 07:37:17 +0000 (23:37 -0800)]
error() wasn't printing the error string, even though it should
always (well, unless write returns short) contain an interesting value.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ar/misc.c 8.4

29 years agocheck /etc/fstab for update so can use it if available
Kirk McKusick [Fri, 28 Apr 1995 07:36:02 +0000 (23:36 -0800)]
check /etc/fstab for update so can use it if available

SCCS-vsn: sbin/mount/mount.c 8.24

29 years agofile descriptor leak
Keith Bostic [Fri, 28 Apr 1995 07:33:20 +0000 (23:33 -0800)]
file descriptor leak
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ar/replace.c 8.4

29 years agowarnx will add a <newline> for us
Keith Bostic [Fri, 28 Apr 1995 07:32:40 +0000 (23:32 -0800)]
warnx will add a <newline> for us
bug in long archive member names
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ar/archive.c 8.4

29 years agocorrectly format the usage message
Keith Bostic [Fri, 28 Apr 1995 07:30:53 +0000 (23:30 -0800)]
correctly  format the usage message
From: Charles Hannum <mycroft@NetBSD.ORG>

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

29 years agoextraneous trailing comma
Keith Bostic [Fri, 28 Apr 1995 07:30:36 +0000 (23:30 -0800)]
extraneous trailing comma
From: Charles Hannum <mycroft@NetBSD.ORG>

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

29 years ago/usr/share shouldn't be written to during normal use, and has the wrong
Keith Bostic [Fri, 28 Apr 1995 07:28:19 +0000 (23:28 -0800)]
/usr/share shouldn't be written to during normal use, and has the wrong
permissions to allow it anyway.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: games/larn/pathnames.h 5.2

29 years agoarp(8) no longer supports trailers. No point in claiming to...
Keith Bostic [Fri, 28 Apr 1995 07:27:12 +0000 (23:27 -0800)]
arp(8) no longer supports trailers.  No point in claiming to...
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.sbin/arp/arp.8 8.2

29 years agoThis fixes a null pointer dereference.
Keith Bostic [Fri, 28 Apr 1995 07:26:29 +0000 (23:26 -0800)]
This fixes a null pointer dereference.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.bin/ftp/ruserpass.c 8.4

29 years agotypo
Keith Bostic [Fri, 28 Apr 1995 07:25:25 +0000 (23:25 -0800)]
typo

SCCS-vsn: sbin/shutdown/shutdown.8 8.2

29 years agoshutdown(8) shouldn't remove the nologin file if `-k' was used.
Keith Bostic [Fri, 28 Apr 1995 07:22:27 +0000 (23:22 -0800)]
shutdown(8) shouldn't remove the nologin file if `-k' was used.
From: Charles Hannum <mycroft@NetBSD.ORG>

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

29 years agodatabase files couldn't live in /var, and were moved back
Keith Bostic [Fri, 28 Apr 1995 06:51:09 +0000 (22:51 -0800)]
database files couldn't live in /var, and were moved back
into /etc.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.sbin/pwd_mkdb/pwd_mkdb.8 8.2

29 years agoIf you clear the parity bit you can end up with a control character
Keith Bostic [Fri, 28 Apr 1995 06:49:59 +0000 (22:49 -0800)]
If you clear the parity bit you can end up with a control character
that you don't map to '?'.
From: Craig Leres <leres@ee.lbl.gov>

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

29 years agoupdate, cleanup, lint for password field extraction
Keith Bostic [Fri, 28 Apr 1995 06:47:30 +0000 (22:47 -0800)]
update, cleanup, lint for password field extraction
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: lib/libc/gen/getpwent.c 8.2

29 years agomedian() has to be prototyped taking a double
Keith Bostic [Fri, 28 Apr 1995 06:43:46 +0000 (22:43 -0800)]
median() has to be prototyped taking a double
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.sbin/timed/timed/networkdelta.c 8.3

29 years agolint
Keith Bostic [Fri, 28 Apr 1995 06:41:06 +0000 (22:41 -0800)]
lint
From: Chris Torek <torek@BSDI.COM>

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

29 years agomtree man page installs in wrong cat directory
Keith Bostic [Fri, 28 Apr 1995 06:37:18 +0000 (22:37 -0800)]
mtree man page installs in wrong cat directory
From: Chris Torek <torek@BSDI.COM>

SCCS-vsn: usr.sbin/mtree/Makefile 8.2

29 years agoMycroft says he gets a major speed improvement with this.
Keith Bostic [Fri, 28 Apr 1995 06:35:26 +0000 (22:35 -0800)]
Mycroft says he gets a major speed improvement with this.
From: Charles Hannum <mycroft@NetBSD.ORG>

SCCS-vsn: usr.sbin/kvm_mkdb/kvm_mkdb.c 8.2

29 years agoMycroft says this is a tremendous performance win over NFS
Keith Bostic [Fri, 28 Apr 1995 06:34:35 +0000 (22:34 -0800)]
Mycroft says this is a tremendous performance win over NFS
From: Charles Hannum <mycroft@NetBSD.ORG>

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

29 years agospeedup for cap_mkdb when running over NFS
Keith Bostic [Fri, 28 Apr 1995 06:31:49 +0000 (22:31 -0800)]
speedup for cap_mkdb when running over NFS
From: Charles Hannum <mycroft@NetBSD.ORG>

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

29 years agom4(1)'s m4exit builtin macro doesn't remove /tmp files.
Keith Bostic [Fri, 28 Apr 1995 06:30:53 +0000 (22:30 -0800)]
m4(1)'s m4exit builtin macro doesn't remove /tmp files.
From: "Chris G. Demetriou" <cgd@alpha.bostic.com>

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

29 years agohave to include <ufs/ufs/dir.h> to get doff_t
Kirk McKusick [Fri, 28 Apr 1995 06:27:35 +0000 (22:27 -0800)]
have to include <ufs/ufs/dir.h> to get doff_t

SCCS-vsn: sys/ufs/ufs/inode.h 8.8

29 years agolockmgr now takes an interlock and a pid but no longer a proc ptr;
Kirk McKusick [Fri, 28 Apr 1995 06:27:00 +0000 (22:27 -0800)]
lockmgr now takes an interlock and a pid but no longer a proc ptr;
LK_DRAIN now returns with exclusive lock; add lock print function

SCCS-vsn: sys/kern/kern_lock.c 8.8

29 years agoThis patch fixes some broken behavior with empty commands in sh,
Keith Bostic [Fri, 28 Apr 1995 06:19:11 +0000 (22:19 -0800)]
This patch fixes some broken behavior with empty commands in sh,
e.g. ";<CR>", ">foo;<CR>", "(>foo)" are now correct
From: Charles Hannum <mycroft@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/parser.c 8.3

29 years agolseek takes an off_t as a second argument, not a long
Keith Bostic [Fri, 28 Apr 1995 06:14:48 +0000 (22:14 -0800)]
lseek takes an off_t as a second argument, not a long
From: Charles Hannum <mycroft@sun-lamp.cs.berkeley.edu>

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

29 years agoconvert edquota to mandoc format
Keith Bostic [Fri, 28 Apr 1995 06:13:37 +0000 (22:13 -0800)]
convert edquota to mandoc format
From: Charles Hannum <mycroft@sun-lamp.cs.berkeley.edu>

SCCS-vsn: usr.sbin/edquota/edquota.8 8.2

29 years agolseek's second argument isn't a long, it's an off_t
Keith Bostic [Fri, 28 Apr 1995 06:11:47 +0000 (22:11 -0800)]
lseek's second argument isn't a long, it's an off_t
From: Charles Hannum <mycroft@sun-lamp.cs.berkeley.edu>

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

29 years agodon't add an extra space between the process's args and the
Keith Bostic [Fri, 28 Apr 1995 05:59:00 +0000 (21:59 -0800)]
don't add an extra space between the process's args and the
parenthesized p_comm
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/ps/fmt.c 8.5

29 years agoscript messed up the copyright notices
Keith Bostic [Fri, 28 Apr 1995 05:50:19 +0000 (21:50 -0800)]
script messed up the copyright notices

SCCS-vsn: usr.sbin/bad144/bad144.c 8.2

29 years agolockmanager takes an interlock and a pid rather than a proc ptr
Kirk McKusick [Fri, 28 Apr 1995 05:48:03 +0000 (21:48 -0800)]
lockmanager takes an interlock and a pid rather than a proc ptr

SCCS-vsn: sys/vm/vm_map.c 8.6

29 years agoJ.T. Conklin's changes for signals mean that we don't need all
Keith Bostic [Fri, 28 Apr 1995 05:47:35 +0000 (21:47 -0800)]
J.T. Conklin's changes for signals mean that we don't need all
of the random signal crap any longer

SCCS-vsn: bin/sh/Makefile 8.2

29 years agogive up and just include <sys/proc.h>
Kirk McKusick [Fri, 28 Apr 1995 05:47:33 +0000 (21:47 -0800)]
give up and just include <sys/proc.h>

SCCS-vsn: sys/vm/vm_map.h 8.7

29 years agoJ.T. Conklin's changes for signals mean that we don't need all
Keith Bostic [Fri, 28 Apr 1995 05:47:20 +0000 (21:47 -0800)]
J.T. Conklin's changes for signals mean that we don't need all
of the random signal crap any longer

SCCS-vsn: bin/sh/trap.c 8.2

29 years agogetpgrp no longer takes an argument
Keith Bostic [Fri, 28 Apr 1995 05:46:31 +0000 (21:46 -0800)]
getpgrp no longer takes an argument
the copyright notice was messed up quite a bit

SCCS-vsn: bin/sh/jobs.c 8.3

29 years agoatomic_lock => simple_lock
Kirk McKusick [Fri, 28 Apr 1995 05:27:51 +0000 (21:27 -0800)]
atomic_lock => simple_lock

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

29 years agoPOSIX.2 says that a successful variable assignment should set the status
Keith Bostic [Fri, 28 Apr 1995 05:20:47 +0000 (21:20 -0800)]
POSIX.2 says that a successful variable assignment should set the status
variable ($?) to 0.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/eval.c 8.3

29 years agoPOSIX.2 (and common sense) dictates that the file specified by $ENV
Keith Bostic [Fri, 28 Apr 1995 05:19:31 +0000 (21:19 -0800)]
POSIX.2 (and common sense) dictates that the file specified by $ENV
should not be sourced when running a setuid or setgid shell script.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>
NOTE: Dave Korn noted at a recent POSIX meeting that ENV should be ignored
for all scripts, so this is likely to go further in the near future.

SCCS-vsn: bin/sh/main.c 8.3

29 years agolockmanager takes an interlock and a pid rather than a proc ptr
Kirk McKusick [Fri, 28 Apr 1995 05:19:14 +0000 (21:19 -0800)]
lockmanager takes an interlock and a pid rather than a proc ptr

SCCS-vsn: sys/vm/vm_map.h 8.6

29 years agoDon't dump core when evaluating X % 0.
Keith Bostic [Fri, 28 Apr 1995 05:18:11 +0000 (21:18 -0800)]
Don't dump core when evaluating X % 0.
Simplify lexer by using %prec feature in yacc grammar.
Implement most of the operators required by POSIX.2.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/arith.y 8.2
SCCS-vsn: bin/sh/arith_lex.l 8.2

29 years agoThis patch changes the shell to use the sys_siglist[] array in libc
Keith Bostic [Fri, 28 Apr 1995 05:16:40 +0000 (21:16 -0800)]
This patch changes the shell to use the sys_siglist[] array in libc
instead of the list generated by the mksignames program.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/jobs.c 8.2

29 years agoWhen a "&" is encountered in a list, all the prior commands
Keith Bostic [Fri, 28 Apr 1995 05:15:47 +0000 (21:15 -0800)]
When a "&" is encountered in a list, all the prior commands
are grouped together and backgrounded, instead of only the previous
and-or construct being backgrounded.  Typing "sleep 1; sleep 10 &" executes
the equivalent (roughly) of "{ sleep 1; sleep 10; } &".
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/parser.c 8.2

29 years agoPOSIX.2 requires that the shell's dot builtin do a path search
Keith Bostic [Fri, 28 Apr 1995 05:13:29 +0000 (21:13 -0800)]
POSIX.2 requires that the shell's dot builtin do a path search
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/main.c 8.2

29 years agomake umask POSIX.2 compliant
Keith Bostic [Fri, 28 Apr 1995 05:11:58 +0000 (21:11 -0800)]
make umask POSIX.2 compliant
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/miscbltin.c 8.3

29 years agoatomic_lock => simplelock
Kirk McKusick [Fri, 28 Apr 1995 05:11:40 +0000 (21:11 -0800)]
atomic_lock => simplelock

SCCS-vsn: sys/vm/vm.h 8.4

29 years agodon't reference the Ash General Public License, we have
Keith Bostic [Fri, 28 Apr 1995 05:10:44 +0000 (21:10 -0800)]
don't reference the Ash General Public License, we have
permission to distribute under the general Berkeley license

SCCS-vsn: bin/sh/builtins.def 8.3

29 years agoset errno to EINVAL if arguments incorrect
Keith Bostic [Fri, 28 Apr 1995 05:09:08 +0000 (21:09 -0800)]
set errno to EINVAL if arguments incorrect
make pstat an int, not a union wait
don't close the file descriptor if we can't find it on our list
POSIX.2 explicitly disallows blocking SIGINT, SIGQUIT, SIGHUP (see the
Rationale)
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: lib/libc/gen/popen.c 8.2

29 years agoadd interlock; change proc pointer to pid
Kirk McKusick [Fri, 28 Apr 1995 05:04:58 +0000 (21:04 -0800)]
add interlock; change proc pointer to pid

SCCS-vsn: sys/sys/lock.h 8.7

29 years agoatomic_lock => simple_lock
Kirk McKusick [Fri, 28 Apr 1995 05:00:13 +0000 (21:00 -0800)]
atomic_lock => simple_lock

SCCS-vsn: sys/sys/lock.h 8.6

29 years agomove getopt information from stdlib.h to unistd.h
Keith Bostic [Fri, 28 Apr 1995 04:58:45 +0000 (20:58 -0800)]
move getopt information from stdlib.h to unistd.h
as decreed by IEEE Std 1003.2-1992

SCCS-vsn: include/stdlib.h 8.4
SCCS-vsn: include/unistd.h 8.12

29 years agoPOSIX.2 has changed getopt to return -1 instead of EOF (to decouple
Keith Bostic [Fri, 28 Apr 1995 04:52:32 +0000 (20:52 -0800)]
POSIX.2 has changed getopt to return -1 instead of EOF (to decouple
getopt() from standard i/o).  This change is more pedantic than
functional as EOF is defined to be -1.
Also, POSIX.2 says that getopt lives in unistd.h , not stdlib.h.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: lib/libc/stdlib/getopt.3 8.5
SCCS-vsn: lib/libc/stdlib/getopt.c 8.3

29 years agoargument pointer not being incremented through arguments
Keith Bostic [Fri, 28 Apr 1995 04:49:16 +0000 (20:49 -0800)]
argument pointer not being incremented through arguments
From: "Chris G. Demetriou" <cgd@postgres.Berkeley.EDU>

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

29 years agoThe POSIX.2 requirement that "false" (among others) be found before
Keith Bostic [Fri, 28 Apr 1995 04:47:04 +0000 (20:47 -0800)]
The POSIX.2 requirement that "false" (among others) be found before
$PATH processing basically requires it to be a builtin.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/builtins.def 8.2
SCCS-vsn: bin/sh/eval.c 8.2

29 years agohack requires writeable strings
Keith Bostic [Fri, 28 Apr 1995 04:45:07 +0000 (20:45 -0800)]
hack requires writeable strings
hack.u_init.c:u_init() writes the roles array which is loaded into text space
From: Jan-Simon Pendry <pendry@vangogh.CS.Berkeley.EDU>

SCCS-vsn: games/hack/Makefile 8.2

29 years ago:a in 'more' causes null dereference
Keith Bostic [Fri, 28 Apr 1995 04:37:50 +0000 (20:37 -0800)]
:a in 'more' causes null dereference
ex: more /root/.cshrc<CR>:a<CR>
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: usr.bin/more/output.c 8.2

29 years agocreate .gz as well as .Z format
Eric Allman [Fri, 28 Apr 1995 02:50:53 +0000 (18:50 -0800)]
create .gz as well as .Z format

SCCS-vsn: usr.sbin/sendmail/Makefile 8.11

29 years agocheck for more limited possible directory size
Kirk McKusick [Fri, 28 Apr 1995 02:49:22 +0000 (18:49 -0800)]
check for more limited possible directory size

SCCS-vsn: sbin/fsck/pass1.c 8.5

29 years agomove definition of doff_t to dir.h
Kirk McKusick [Fri, 28 Apr 1995 02:47:35 +0000 (18:47 -0800)]
move definition of doff_t to dir.h

SCCS-vsn: sys/ufs/ufs/inode.h 8.7

29 years agomove in definition of doff_t and MAXDIRSIZE
Kirk McKusick [Fri, 28 Apr 1995 02:46:56 +0000 (18:46 -0800)]
move in definition of doff_t and MAXDIRSIZE

SCCS-vsn: sys/ufs/ufs/dir.h 8.5

29 years agofsck now passes with -W
Kirk McKusick [Fri, 28 Apr 1995 02:39:09 +0000 (18:39 -0800)]
fsck now passes with -W

SCCS-vsn: sbin/fsck/Makefile 8.2

29 years agoadd function prototypes
Kirk McKusick [Fri, 28 Apr 1995 02:33:09 +0000 (18:33 -0800)]
add function prototypes

SCCS-vsn: sbin/fsck/preen.c 8.4
SCCS-vsn: sbin/fsck/inode.c 8.7
SCCS-vsn: sbin/fsck/pass1.c 8.4
SCCS-vsn: sbin/fsck/pass3.c 8.2
SCCS-vsn: sbin/fsck/Makefile 8.2
SCCS-vsn: sbin/fsck/pass1b.c 8.3
SCCS-vsn: sbin/fsck/utilities.c 8.3
SCCS-vsn: sbin/fsck/pass5.c 8.8
SCCS-vsn: sbin/fsck/main.c 8.4
SCCS-vsn: sbin/fsck/pass2.c 8.8
SCCS-vsn: sbin/fsck/dir.c 8.7
SCCS-vsn: sbin/fsck/fsck.h 8.3
SCCS-vsn: sbin/fsck/pass4.c 8.3
SCCS-vsn: sbin/fsck/setup.c 8.8

29 years agomount -u does not need entries in /etc/fstab
Kirk McKusick [Thu, 27 Apr 1995 07:22:25 +0000 (23:22 -0800)]
mount -u does not need entries in /etc/fstab

SCCS-vsn: sbin/mount/mount.c 8.23

29 years agoadd CTL_VFS output
Kirk McKusick [Thu, 27 Apr 1995 06:57:47 +0000 (22:57 -0800)]
add CTL_VFS output

SCCS-vsn: usr.sbin/sysctl/sysctl.c 8.2

29 years agoupdate for new kernel filesystem structure (vfsconf)
Kirk McKusick [Thu, 27 Apr 1995 04:14:23 +0000 (20:14 -0800)]
update for new kernel filesystem structure (vfsconf)

SCCS-vsn: sbin/mount/mount.c 8.22
SCCS-vsn: sbin/mount/mount_ufs.c 8.4
SCCS-vsn: sbin/mount_cd9660/mount_cd9660.c 8.6
SCCS-vsn: sbin/mount_fdesc/mount_fdesc.c 8.3
SCCS-vsn: sbin/mount_lfs/mount_lfs.c 8.4
SCCS-vsn: sbin/mount_null/mount_null.c 8.6
SCCS-vsn: sbin/mount_portal/mount_portal.c 8.6
SCCS-vsn: sbin/mount_procfs/mount_procfs.c 8.4
SCCS-vsn: sbin/mount_umap/mount_umap.c 8.5
SCCS-vsn: sbin/mount_union/mount_union.c 8.6

29 years agobetter implementation -- fixes $rel for HP-UX as well
Eric Allman [Thu, 27 Apr 1995 02:35:45 +0000 (18:35 -0800)]
better implementation -- fixes $rel for HP-UX as well

SCCS-vsn: usr.sbin/sendmail/src/makesendmail 8.20

29 years agofix rbase for HP-UX; announce the various configuration variables
Eric Allman [Thu, 27 Apr 1995 02:24:21 +0000 (18:24 -0800)]
fix rbase for HP-UX; announce the various configuration variables

SCCS-vsn: usr.sbin/sendmail/src/makesendmail 8.19

29 years agoadd HP-UX 10.x files
Eric Allman [Thu, 27 Apr 1995 00:28:00 +0000 (16:28 -0800)]
add HP-UX 10.x files

SCCS-vsn: usr.sbin/sendmail/Files.cf 8.11

29 years agoadd _OPTINS (optional insert) macro to shorten lines in mailers
Eric Allman [Thu, 27 Apr 1995 00:27:34 +0000 (16:27 -0800)]
add _OPTINS (optional insert) macro to shorten lines in mailers

SCCS-vsn: usr.sbin/sendmail/cf/m4/cf.m4 8.18

29 years agoadd *_MAILER_CHARSET; UUCP_MAX_SIZE => UUCP_MAILER_MAX
Eric Allman [Thu, 27 Apr 1995 00:25:14 +0000 (16:25 -0800)]
add *_MAILER_CHARSET; UUCP_MAX_SIZE => UUCP_MAILER_MAX

SCCS-vsn: usr.sbin/sendmail/cf/mailer/local.m4 8.15
SCCS-vsn: usr.sbin/sendmail/cf/mailer/smtp.m4 8.22
SCCS-vsn: usr.sbin/sendmail/cf/mailer/uucp.m4 8.22
SCCS-vsn: usr.sbin/sendmail/cf/mailer/usenet.m4 8.5