unix-history/.git
30 years agou_long isn't available if _POSIX_SOURCE is defined
Keith Bostic [Wed, 5 Jan 1994 07:43:05 +0000 (23:43 -0800)]
u_long isn't available if _POSIX_SOURCE is defined

SCCS-vsn: sys/hp300/include/types.h 8.2
SCCS-vsn: sys/i386/include/types.h 8.2
SCCS-vsn: sys/pmax/include/types.h 8.2
SCCS-vsn: sys/sparc/include/types.h 8.2

30 years agoreorder the defines to hopefully get standards conformance right
Keith Bostic [Wed, 5 Jan 1994 07:11:04 +0000 (23:11 -0800)]
reorder the defines to hopefully get standards conformance right

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

30 years agomake sure route-addrs have <angle brackets> in envelope
Eric Allman [Wed, 5 Jan 1994 07:02:44 +0000 (23:02 -0800)]
make sure route-addrs have <angle brackets> in envelope

SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.29

30 years agoEBUSY is defined by POSIX.1
Keith Bostic [Wed, 5 Jan 1994 07:00:28 +0000 (23:00 -0800)]
EBUSY is defined by POSIX.1

SCCS-vsn: sys/sys/errno.h 8.3

30 years agoadd max value for SSIZE_T_MAX
Keith Bostic [Wed, 5 Jan 1994 06:56:16 +0000 (22:56 -0800)]
add max value for SSIZE_T_MAX

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

30 years agoadd _POSIX_SSIZE_MAX, _POSIX_STREAM_MAX, _POSIX_TZNAME_MAX
Keith Bostic [Wed, 5 Jan 1994 06:53:05 +0000 (22:53 -0800)]
add _POSIX_SSIZE_MAX, _POSIX_STREAM_MAX, _POSIX_TZNAME_MAX

SCCS-vsn: include/limits.h 8.2

30 years agoupdate for new queue structures
Kirk McKusick [Wed, 5 Jan 1994 06:50:44 +0000 (22:50 -0800)]
update for new queue structures

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

30 years agosince timezones are named in the file system in 4BSD,
Keith Bostic [Wed, 5 Jan 1994 06:49:28 +0000 (22:49 -0800)]
since timezones are named in the file system in 4BSD,
my guess is that the right value is the max file name length

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

30 years agouse FOPEN_MAX instead of NSTATIC, _POSIX_STREAM_MAX makes it public
Keith Bostic [Wed, 5 Jan 1994 06:43:25 +0000 (22:43 -0800)]
use FOPEN_MAX instead of NSTATIC, _POSIX_STREAM_MAX makes it public

SCCS-vsn: lib/libc/stdio/findfp.c 8.2

30 years agoredefine FOPEN_MAX as the stdio min/max, not in any way related
Keith Bostic [Wed, 5 Jan 1994 06:37:48 +0000 (22:37 -0800)]
redefine FOPEN_MAX as the stdio min/max, not in any way related
to the kernel; _POSIX_STREAM_MAX in limits.h makes it public

SCCS-vsn: include/stdio.h 8.4

30 years agoadd _POSIX_SSIZE_MAX
Keith Bostic [Wed, 5 Jan 1994 06:05:18 +0000 (22:05 -0800)]
add _POSIX_SSIZE_MAX

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

30 years agoupdate the copyright notice
Keith Bostic [Wed, 5 Jan 1994 05:50:59 +0000 (21:50 -0800)]
update the copyright notice

SCCS-vsn: include/tar.h 8.2

30 years agoadd tar.h
Keith Bostic [Wed, 5 Jan 1994 05:50:18 +0000 (21:50 -0800)]
add tar.h

SCCS-vsn: include/Makefile 8.2

30 years agodate and time created 94/01/04 13:49:51 by bostic
Keith Bostic [Wed, 5 Jan 1994 05:49:51 +0000 (21:49 -0800)]
date and time created 94/01/04 13:49:51 by bostic

SCCS-vsn: include/tar.h 8.1

30 years agoinclude <machine/limits.h>; POSIX.1 requires time.h to have CLK_TCK
Keith Bostic [Wed, 5 Jan 1994 05:39:37 +0000 (21:39 -0800)]
include <machine/limits.h>; POSIX.1 requires time.h to have CLK_TCK

SCCS-vsn: include/time.h 8.2

30 years agogetgroups now takes gid_t's, they are 32-bits
Keith Bostic [Wed, 5 Jan 1994 05:28:13 +0000 (21:28 -0800)]
getgroups now takes gid_t's, they are 32-bits

SCCS-vsn: include/unistd.h 8.4

30 years agoVern Paxson's changes to make Research Awk run with flex on 4.4BSD
Keith Bostic [Wed, 5 Jan 1994 04:01:28 +0000 (20:01 -0800)]
Vern Paxson's changes to make Research Awk run with flex on 4.4BSD

SCCS-vsn: contrib/awk.research/awk.lx.l 8.2
SCCS-vsn: contrib/awk.research/lib.c 8.2
SCCS-vsn: contrib/awk.research/main.c 8.2
SCCS-vsn: contrib/awk.research/proto.h 8.2
SCCS-vsn: contrib/awk.research/run.c 8.2
SCCS-vsn: contrib/awk.research/tran.c 8.2

30 years agouse -g for multicast instead of -B (follow BSDI)
Keith Bostic [Wed, 5 Jan 1994 03:41:55 +0000 (19:41 -0800)]
use -g for multicast instead of -B (follow BSDI)

SCCS-vsn: usr.bin/netstat/main.c 8.3
SCCS-vsn: usr.bin/netstat/netstat.1 8.4
SCCS-vsn: usr.bin/netstat/netstat.h 8.2

30 years agodate and time created 94/01/04 11:07:46 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:46 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:46 by bostic

SCCS-vsn: contrib/awk.research/tran.c 8.1

30 years agodate and time created 94/01/04 11:07:45 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:45 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:45 by bostic

SCCS-vsn: contrib/awk.research/run.c 8.1

30 years agodate and time created 94/01/04 11:07:44 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:44 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:44 by bostic

SCCS-vsn: contrib/awk.research/proto.h 8.1

30 years agodate and time created 94/01/04 11:07:43 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:43 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:43 by bostic

SCCS-vsn: contrib/awk.research/main.c 8.1

30 years agodate and time created 94/01/04 11:07:42 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:42 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:42 by bostic

SCCS-vsn: contrib/awk.research/lib.c 8.1

30 years agodate and time created 94/01/04 11:07:41 by bostic
Keith Bostic [Wed, 5 Jan 1994 03:07:41 +0000 (19:07 -0800)]
date and time created 94/01/04 11:07:41 by bostic

SCCS-vsn: contrib/awk.research/awk.lx.l 8.1

30 years agoMike's new comment
Keith Bostic [Wed, 5 Jan 1994 02:52:01 +0000 (18:52 -0800)]
Mike's new comment

SCCS-vsn: sys/sys/cdefs.h 8.5

30 years agoprovide a way to leave ANSI C variables alone, and delete them
Keith Bostic [Wed, 5 Jan 1994 01:33:41 +0000 (17:33 -0800)]
provide a way to leave ANSI C variables alone, and delete them
by default

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

30 years agomultiple problems
Eric Allman [Tue, 4 Jan 1994 23:52:27 +0000 (15:52 -0800)]
multiple problems

SCCS-vsn: usr.sbin/sendmail/KNOWNBUGS 8.12

30 years agozero vp->v_data in reclaim
Jan-Simon Pendry [Tue, 4 Jan 1994 23:52:26 +0000 (15:52 -0800)]
zero vp->v_data in reclaim

SCCS-vsn: sys/miscfs/portal/portal_vnops.c 8.3

30 years ago.sm macro; more Makefile info
Eric Allman [Tue, 4 Jan 1994 23:52:08 +0000 (15:52 -0800)]
.sm macro; more Makefile info

SCCS-vsn: usr.sbin/sendmail/READ_ME 8.8

30 years agocomments about getusershell on HP-UX
Eric Allman [Tue, 4 Jan 1994 23:51:35 +0000 (15:51 -0800)]
comments about getusershell on HP-UX

SCCS-vsn: usr.sbin/sendmail/src/READ_ME 8.45

30 years agotypos
Eric Allman [Tue, 4 Jan 1994 23:51:11 +0000 (15:51 -0800)]
typos

SCCS-vsn: usr.sbin/sendmail/doc/op/op.me 8.31

30 years agoallocate private VT_ tags
Jan-Simon Pendry [Tue, 4 Jan 1994 22:54:33 +0000 (14:54 -0800)]
allocate private VT_ tags

SCCS-vsn: sys/miscfs/fdesc/fdesc.h 8.2
SCCS-vsn: sys/miscfs/fdesc/fdesc_vnops.c 8.5
SCCS-vsn: sys/miscfs/kernfs/kernfs.h 8.2
SCCS-vsn: sys/miscfs/kernfs/kernfs_vfsops.c 8.2
SCCS-vsn: sys/miscfs/kernfs/kernfs_vnops.c 8.2
SCCS-vsn: sys/deprecated/lofs/lofs.h 8.2
SCCS-vsn: sys/deprecated/lofs/lofs_subr.c 8.2
SCCS-vsn: sys/miscfs/portal/portal.h 8.2
SCCS-vsn: sys/miscfs/portal/portal_vfsops.c 8.2
SCCS-vsn: sys/miscfs/portal/portal_vnops.c 8.2

30 years agoavoid core dump on $> with no argument; fix sameaddr to avoid
Eric Allman [Tue, 4 Jan 1994 22:41:26 +0000 (14:41 -0800)]
avoid core dump on $> with no argument; fix sameaddr to avoid
excessive FALSE values

SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.28

30 years agoexpand dumpfd to tag FIFOs, directories, and symbolic links
Eric Allman [Tue, 4 Jan 1994 22:40:36 +0000 (14:40 -0800)]
expand dumpfd to tag FIFOs, directories, and symbolic links

SCCS-vsn: usr.sbin/sendmail/src/util.c 8.28

30 years agouse latest BSDI version of <sys/cdefs.h>
Keith Bostic [Tue, 4 Jan 1994 09:58:38 +0000 (01:58 -0800)]
use latest BSDI version of <sys/cdefs.h>

SCCS-vsn: sys/sys/cdefs.h 8.3

30 years agouse latest BSDI version of <sys/cdefs.h>, change to __keyword
Keith Bostic [Tue, 4 Jan 1994 09:58:15 +0000 (01:58 -0800)]
use latest BSDI version of <sys/cdefs.h>, change to __keyword

SCCS-vsn: include/ctype.h 8.2
SCCS-vsn: lib/libedit/histedit.h 8.2
SCCS-vsn: include/regex.h 8.2
SCCS-vsn: include/signal.h 8.2
SCCS-vsn: include/stdio.h 8.3
SCCS-vsn: include/unistd.h 8.3

30 years agoFor a setsockopt at the socket level, if the protocol has no ctloutput
Keith Bostic [Tue, 4 Jan 1994 09:40:08 +0000 (01:40 -0800)]
For a setsockopt at the socket level, if the protocol has no ctloutput
function, an mbuf is lost.  From: Mike Karels <karels@BSDI.COM>

SCCS-vsn: sys/kern/uipc_socket.c 8.2

30 years agoIn ip_ctloutput, if the option is at level IPPROTO_IP but not
Keith Bostic [Tue, 4 Jan 1994 09:39:01 +0000 (01:39 -0800)]
In ip_ctloutput, if the option is at level IPPROTO_IP but not
recognized/supported, return ENOPROTOOPT (from POSIX 1003.12).  I continued
to return EINVAL if the level was not IPPROTO_IP.  Also, in the latter
case, I added a check to free any mbuf only for setsockopt, not getsockopt,
although that is not strictly necessary (getsockopt passes a pointer
to a null pointer).  From: Mike Karels <karels@BSDI.COM>

SCCS-vsn: sys/netinet/ip_output.c 8.2

30 years agoChanged tcp_ctloutput to return ENOPROTOOPT for unknown options.
Keith Bostic [Tue, 4 Jan 1994 09:36:48 +0000 (01:36 -0800)]
Changed tcp_ctloutput to return ENOPROTOOPT for unknown options.
While doing this, I noticed that an mbuf is lost if a setsockopt is done
on a tcp connection that has been reset, and fixed this as well.
From: Mike Karels <karels@BSDI.COM>

SCCS-vsn: sys/netinet/tcp_usrreq.c 8.2

30 years agoadd file for procfs
Jan-Simon Pendry [Tue, 4 Jan 1994 06:20:09 +0000 (22:20 -0800)]
add file for procfs

SCCS-vsn: sys/hp300/conf/files.hp300 8.2

30 years agoclarify Makefiles
Eric Allman [Tue, 4 Jan 1994 02:56:36 +0000 (18:56 -0800)]
clarify Makefiles

SCCS-vsn: usr.sbin/sendmail/src/READ_ME 8.44

30 years agoadd struct reg for procfs
Jan-Simon Pendry [Tue, 4 Jan 1994 02:55:44 +0000 (18:55 -0800)]
add struct reg for procfs

SCCS-vsn: sys/hp300/include/reg.h 8.2
SCCS-vsn: sys/hp300/include/reg.h 8.2

30 years agofix range checks for uid and gid
Jan-Simon Pendry [Tue, 4 Jan 1994 02:10:42 +0000 (18:10 -0800)]
fix range checks for uid and gid

SCCS-vsn: usr.bin/chpass/field.c 8.2

30 years agorename fgetline -> fgetln
Keith Bostic [Tue, 4 Jan 1994 02:08:50 +0000 (18:08 -0800)]
rename fgetline -> fgetln

SCCS-vsn: games/quiz/quiz.c 8.2
SCCS-vsn: usr.bin/man/config.c 8.7
SCCS-vsn: usr.bin/join/join.c 8.2
SCCS-vsn: usr.bin/sed/main.c 8.2

30 years agodate and time created 94/01/03 09:52:36 by bostic
Keith Bostic [Tue, 4 Jan 1994 01:52:36 +0000 (17:52 -0800)]
date and time created 94/01/03 09:52:36 by bostic

SCCS-vsn: contrib/jove-4.14.6/externs.h 5.1

30 years agosignal wants a function that returns void
Keith Bostic [Tue, 4 Jan 1994 01:50:14 +0000 (17:50 -0800)]
signal wants a function that returns void

SCCS-vsn: contrib/bib/src/listrefs.c 2.7
SCCS-vsn: contrib/bib/src/bib.c 2.12

30 years agorename fgetline -> fgetln, the semantics have changed
Keith Bostic [Tue, 4 Jan 1994 01:48:12 +0000 (17:48 -0800)]
rename fgetline -> fgetln, the semantics have changed

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

30 years agoadded procfs files
Jan-Simon Pendry [Tue, 4 Jan 1994 01:33:06 +0000 (17:33 -0800)]
added procfs files

SCCS-vsn: sys/conf/files.newconf 8.4

30 years agoHP-UX portability
Eric Allman [Tue, 4 Jan 1994 01:32:25 +0000 (17:32 -0800)]
HP-UX portability

SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.72

30 years ago(no message)
Eric Allman [Tue, 4 Jan 1994 01:31:52 +0000 (17:31 -0800)]
(no message)

SCCS-vsn: usr.sbin/sendmail/src/TODO 8.14

30 years agoConvex portability
Eric Allman [Tue, 4 Jan 1994 01:31:11 +0000 (17:31 -0800)]
Convex portability

SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.59

30 years agoadded procfs files
Jan-Simon Pendry [Tue, 4 Jan 1994 01:30:17 +0000 (17:30 -0800)]
added procfs files

SCCS-vsn: sys/conf/files 8.3

30 years agorenumber the IP setsockopt options back to the Reno/Net2 versions,
Keith Bostic [Tue, 4 Jan 1994 01:24:05 +0000 (17:24 -0800)]
renumber the IP setsockopt options back to the Reno/Net2 versions,
moving the multicast options after them
From: Mike Karels <karels@BSDI.COM>

SCCS-vsn: sys/netinet/in.h 8.3

30 years agofix the copyright notice, the script didn't like just commas separating
Keith Bostic [Tue, 4 Jan 1994 00:49:14 +0000 (16:49 -0800)]
fix the copyright notice, the script didn't like just commas separating

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

30 years agodon't assume that the year is 19XX -- user's can enter 20XX and
Keith Bostic [Tue, 4 Jan 1994 00:27:40 +0000 (16:27 -0800)]
don't assume that the year is 19XX -- user's can enter 20XX and
(probably, theoretically) end up with something useful

SCCS-vsn: usr.bin/chpass/util.c 8.2

30 years agonvi 0.94 looks like the winner
Keith Bostic [Mon, 3 Jan 1994 13:23:03 +0000 (05:23 -0800)]
nvi 0.94 looks like the winner

SCCS-vsn: contrib/Makefile 8.2

30 years agoSet errno before calling quit() when not root. Cleanup whitespace
Keith Bostic [Mon, 3 Jan 1994 12:33:18 +0000 (04:33 -0800)]
Set errno before calling quit() when not root. Cleanup whitespace
and unused variables.
From: Craig Leres <leres@ee.lbl.gov>

SCCS-vsn: sbin/route/route.c 8.2

30 years agodon't increment a void *, it's not healthy
Keith Bostic [Mon, 3 Jan 1994 10:13:01 +0000 (02:13 -0800)]
don't increment a void *, it's not healthy

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

30 years agoAsh/sh doesn't support the -t flag
Keith Bostic [Mon, 3 Jan 1994 10:09:29 +0000 (02:09 -0800)]
Ash/sh doesn't support the -t flag

SCCS-vsn: bin/ed/ed.c 5.2

30 years agocheck stdin_ok first, may not have stat'ed the file
Keith Bostic [Mon, 3 Jan 1994 10:05:44 +0000 (02:05 -0800)]
check stdin_ok first, may not have stat'ed the file

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

30 years agof you have no checked out SCCS files (e.g. you don't use SCCS) the script
Keith Bostic [Mon, 3 Jan 1994 08:32:34 +0000 (00:32 -0800)]
f you have no checked out SCCS files (e.g. you don't use SCCS) the script
botches horribly.  "$TDIR/*" doesn't expand because there is no match so
the basename command yields "*" which expands to every file in /etc (the
current directory) so you wind up trying "Mail -s whatever *" which tryes
to send mail to every file in /etc.
From: Mike Hibler <hibler@vangogh.CS.Berkeley.EDU>

SCCS-vsn: etc/weekly 8.2

30 years agospelling
Keith Bostic [Mon, 3 Jan 1994 07:14:05 +0000 (23:14 -0800)]
spelling

SCCS-vsn: games/fortune/datfiles/fortunes 8.3

30 years ago% mkdir obj
Keith Bostic [Mon, 3 Jan 1994 07:06:33 +0000 (23:06 -0800)]
% mkdir obj
% touch foo.c README
% cat Makefile
all :: foo.c README
echo ${.OODATE}
Notice that it expands the path for the .c file, but not for README.
This is because the search path for the null suffix is empty and it
should be the default search path.
From: christos@deshaw.com (Christos Zoulas)

SCCS-vsn: usr.bin/make/suff.c 8.2

30 years agocosmetic changes, to cast to the right type for printf
Keith Bostic [Mon, 3 Jan 1994 07:05:36 +0000 (23:05 -0800)]
cosmetic changes, to cast to the right type for printf

SCCS-vsn: usr.bin/make/var.c 8.2

30 years agoinquote is a char, should be assigned to '\0' not to NULL.
Keith Bostic [Mon, 3 Jan 1994 07:05:03 +0000 (23:05 -0800)]
inquote is a char, should be assigned to '\0' not to NULL.

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

30 years agotime_t is a long on most machines so it should need a %ld
Keith Bostic [Mon, 3 Jan 1994 07:04:02 +0000 (23:04 -0800)]
time_t is a long on most machines so it should need a %ld

SCCS-vsn: usr.bin/make/arch.c 8.2

30 years ago(no message)
Keith Bostic [Mon, 3 Jan 1994 07:02:21 +0000 (23:02 -0800)]
(no message)

SCCS-vsn: usr.bin/make/str.c 8.2
SCCS-vsn: usr.bin/make/suff.c 8.2
SCCS-vsn: usr.bin/make/var.c 8.2

30 years agoIn case $MAKEOBJDIR is not a directory or we cannot stat it, then we
Keith Bostic [Mon, 3 Jan 1994 06:59:04 +0000 (22:59 -0800)]
In case $MAKEOBJDIR is not a directory or we cannot stat it, then we
restore the path to .
From: christos@deshaw.com (Christos Zoulas)

SCCS-vsn: usr.bin/make/main.c 8.2

30 years agocredit Harvard Lampoon with a `Bored of the Rings' quote
Keith Bostic [Mon, 3 Jan 1994 06:52:45 +0000 (22:52 -0800)]
credit Harvard Lampoon with a `Bored of the Rings' quote

SCCS-vsn: games/fortune/datfiles/fortunes 8.2
SCCS-vsn: games/fortune/datfiles/fortunes2 8.2

30 years agofgetline(3) renamed to be fgetln(3)
Keith Bostic [Mon, 3 Jan 1994 06:41:33 +0000 (22:41 -0800)]
fgetline(3) renamed to be fgetln(3)

SCCS-vsn: lib/libc/gen/getcap.c 8.2
SCCS-vsn: lib/libc/stdio/fseek.c 8.3
SCCS-vsn: lib/libc/stdio/local.h 8.2

30 years agoHenry Spencer's fix for end-of-word matching
Keith Bostic [Mon, 3 Jan 1994 06:30:41 +0000 (22:30 -0800)]
Henry Spencer's fix for end-of-word matching
Word matching considers '_' to terminate a word, i.e. vm_page_free\>
matches vm_page_free_count.  This isn't historic vi practice.

SCCS-vsn: lib/libc/regex/engine.c 8.2
SCCS-vsn: lib/libc/regex/regex2.h 8.2

30 years agofgetline(3) interface changed, newline no longer replaced
Keith Bostic [Mon, 3 Jan 1994 06:26:52 +0000 (22:26 -0800)]
fgetline(3) interface changed, newline no longer replaced
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>
rename fgetline -> fgetln

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

30 years agorename fgetline.{3,c} -> fgetln.{3,c}
Keith Bostic [Mon, 3 Jan 1994 06:24:46 +0000 (22:24 -0800)]
rename fgetline.{3,c} -> fgetln.{3,c}

SCCS-vsn: include/stdio.h 8.2

30 years ago-w should set iflag, so the output looks like the old 'netstat 1'
Keith Bostic [Mon, 3 Jan 1994 06:17:49 +0000 (22:17 -0800)]
-w should set iflag, so the output looks like the old 'netstat 1'
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>

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

30 years agoupdate of netstat from Mike Karels at BSDI
Keith Bostic [Mon, 3 Jan 1994 06:11:25 +0000 (22:11 -0800)]
update of netstat from Mike Karels at BSDI

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

30 years agorename fgetline.{3,c} -> fgetln.{3,c}
Keith Bostic [Mon, 3 Jan 1994 06:06:42 +0000 (22:06 -0800)]
rename fgetline.{3,c} -> fgetln.{3,c}

SCCS-vsn: lib/libc/stdio/Makefile.inc 8.2
SCCS-vsn: lib/libc/stdio/fgetln.3 8.2
SCCS-vsn: lib/libc/stdio/fgetln.c 8.2

30 years agocfsetspeed should return the same values as cfsetispeed and
Keith Bostic [Mon, 3 Jan 1994 05:51:07 +0000 (21:51 -0800)]
cfsetspeed should return the same values as cfsetispeed and
cfsetospeed
From: Paul A Vixie <vixie@vix.com>

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

30 years agoclear PENDIN if ICANON is cleared
Keith Bostic [Mon, 3 Jan 1994 05:41:01 +0000 (21:41 -0800)]
clear PENDIN if ICANON is cleared
retain the PENDIN flag if set when ICANON is set
From: karels@BSDI.COM (Mike Karels)

SCCS-vsn: sys/kern/tty.c 8.6

30 years agoThere are some hardwired /var/tmp's in the locate database script.
Keith Bostic [Mon, 3 Jan 1994 05:34:21 +0000 (21:34 -0800)]
There are some hardwired /var/tmp's in the locate database script.
There are also an unexplain 28 blank lines at the end.
From: Craig Leres <leres@ee.lbl.gov>

SCCS-vsn: usr.bin/locate/locate/updatedb.csh 8.2

30 years agoSerious quoteing problem in conditionals:
Keith Bostic [Mon, 3 Jan 1994 05:12:24 +0000 (21:12 -0800)]
Serious quoteing problem in conditionals:
% cat Makefile
V1=foo
V2=bar
all:
.if (${V1} != ${V2})
echo "Not equal"
.else
echo "Equal"
.endif
% make
"Makefile", line 5: Malformed conditional ((${V1} != ${V2}))
"Makefile", line 5: Missing dependency operator
"Makefile", line 7: if-less else
"Makefile", line 7: Need an operator
"Makefile", line 9: if-less endif
"Makefile", line 9: Need an operator
From: christos@deshaw.com (Christos Zoulas)

SCCS-vsn: usr.bin/make/cond.c 8.2

30 years agoChange <sys/dir.h> to <dirent.h>
Keith Bostic [Mon, 3 Jan 1994 05:11:09 +0000 (21:11 -0800)]
Change <sys/dir.h> to <dirent.h>

SCCS-vsn: usr.bin/make/dir.c 8.2

30 years agoprettiness police
Keith Bostic [Mon, 3 Jan 1994 05:08:39 +0000 (21:08 -0800)]
prettiness police

SCCS-vsn: lib/libc/gen/scandir.c 8.3

30 years agoHelp scandir compile on systems such as SVR4 where "d_name[]", in
Keith Bostic [Mon, 3 Jan 1994 05:06:22 +0000 (21:06 -0800)]
Help scandir compile on systems such as SVR4 where "d_name[]", in
"struct dirent", is declared as having one member rather than
MAXNAMLEN+1 members.  (It still may require that an "__P()" macro be
provided, but, once the last compiler that doesn't support prototypes
dies, "__P()" can be nuked - SVR4's compilers should all support
prototypes.)
From: guy@auspex.com (Guy Harris)

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

30 years agoThis prevents you from specifying a raw ip address if the nameserver
Keith Bostic [Mon, 3 Jan 1994 05:01:38 +0000 (21:01 -0800)]
This prevents you from specifying a raw ip address if the nameserver
is hosed.
From: Craig Leres <leres@ee.lbl.gov>

SCCS-vsn: usr.bin/finger/net.c 8.3

30 years agoUse lstat() when poking around in /dev. The routine is converting a
Keith Bostic [Mon, 3 Jan 1994 04:57:09 +0000 (20:57 -0800)]
Use lstat() when poking around in /dev.  The routine is converting a
device number to a name (seems like there are very few cases where stat()
is preferred over lstat()).  Exit with a nice message if dumpdev is NODEV,
for running diskless.
From: Craig Leres <leres@ee.lbl.gov>

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

30 years agoIf you're going to fall through, say so!
Keith Bostic [Mon, 3 Jan 1994 04:53:54 +0000 (20:53 -0800)]
If you're going to fall through, say so!
From: Craig Leres <leres@ee.lbl.gov>

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

30 years agoAssign printer pointer after forking so the parent doesn't print
Keith Bostic [Mon, 3 Jan 1994 04:50:23 +0000 (20:50 -0800)]
Assign printer pointer after forking so the parent doesn't print
garbage in error messages
From: Craig Leres <leres@ee.lbl.gov>

SCCS-vsn: usr.sbin/lpr/lpd/lpd.c 8.2

30 years agoendwin() needs to restore the stop signal handler
Keith Bostic [Mon, 3 Jan 1994 04:29:49 +0000 (20:29 -0800)]
endwin() needs to restore the stop signal handler

SCCS-vsn: lib/libcurses/tty.c 8.2

30 years agoonly block SIGALRM and SIGWINCH, not every signal, otherwise the
Keith Bostic [Mon, 3 Jan 1994 04:29:10 +0000 (20:29 -0800)]
only block SIGALRM and SIGWINCH, not every signal, otherwise the
program has no chance to handle things like SIGHUP/SIGTERM without
repainting, and, with SIGTTOU blocked, the repainting will succeed
as well

SCCS-vsn: lib/libcurses/tstp.c 8.2

30 years agoit's LINES, not ROWS!
Keith Bostic [Mon, 3 Jan 1994 04:28:08 +0000 (20:28 -0800)]
it's LINES, not ROWS!

SCCS-vsn: lib/libcurses/setterm.c 8.3

30 years agodelete HZ, it's Hazeltine specific, and conflicts with HZ as Hertz
Keith Bostic [Mon, 3 Jan 1994 04:27:33 +0000 (20:27 -0800)]
delete HZ, it's Hazeltine specific, and conflicts with HZ as Hertz

SCCS-vsn: lib/libcurses/curses.c 8.2
SCCS-vsn: lib/libcurses/curses.h 8.2
SCCS-vsn: lib/libcurses/setterm.c 8.2

30 years agorename hash.c to cur_hash.c, it conflicts with hash.c in dbopen(3) code
Keith Bostic [Mon, 3 Jan 1994 04:21:06 +0000 (20:21 -0800)]
rename hash.c to cur_hash.c, it conflicts with hash.c in dbopen(3) code

SCCS-vsn: lib/libcurses/Makefile 8.2

30 years agointegrate latest version into 4.4BSD-Lite
Keith Bostic [Mon, 3 Jan 1994 04:12:15 +0000 (20:12 -0800)]
integrate latest version into 4.4BSD-Lite

SCCS-vsn: lib/libc/db/test/dbtest.c 8.7
SCCS-vsn: lib/libc/db/test/Makefile 8.7

30 years agomake the man page RECNOINFO element order match the db.h structure
Keith Bostic [Mon, 3 Jan 1994 04:03:47 +0000 (20:03 -0800)]
make the man page RECNOINFO element order match the db.h structure

SCCS-vsn: lib/libc/db/man/recno.3 8.2

30 years agomake the db.h HASHINFO element order match the man page
Keith Bostic [Mon, 3 Jan 1994 03:58:30 +0000 (19:58 -0800)]
make the db.h HASHINFO element order match the man page

SCCS-vsn: lib/libc/db/man/hash.3 8.4

30 years agomake db.h BTREEINFO include ordering match the man page
Keith Bostic [Mon, 3 Jan 1994 03:56:23 +0000 (19:56 -0800)]
make db.h BTREEINFO include ordering match the man page

SCCS-vsn: lib/libc/db/man/btree.3 8.2

30 years agomake it possible to compile new versions of db that load against
Keith Bostic [Mon, 3 Jan 1994 03:47:00 +0000 (19:47 -0800)]
make it possible to compile new versions of db that load against
old DB users (ex: nvi with NET/2 C library getpwent.o's)

SCCS-vsn: include/db.h 8.3

30 years agomove acceptable open(2) flag check to dbopen, no longer need #define
Keith Bostic [Mon, 3 Jan 1994 03:46:22 +0000 (19:46 -0800)]
move acceptable open(2) flag check to dbopen, no longer need #define
add DB_{LOCK,SHMEM,TXN} flags to the open calls
minor whitespace cleanup

SCCS-vsn: include/db.h 8.2

30 years agocopyediting for Usenix manuals
Keith Bostic [Mon, 3 Jan 1994 03:40:39 +0000 (19:40 -0800)]
copyediting for Usenix manuals

SCCS-vsn: lib/libc/db/man/dbopen.3 8.5
SCCS-vsn: lib/libc/db/man/hash.3 8.3

30 years agoadd a way to specify the config file (-C)
Keith Bostic [Mon, 3 Jan 1994 02:41:47 +0000 (18:41 -0800)]
add a way to specify the config file (-C)

SCCS-vsn: usr.bin/man/pathnames.h 8.3