unix-history/.git
33 years agolint displays the entire lint path instead of just the name
Keith Bostic [Tue, 26 Feb 1991 02:55:14 +0000 (18:55 -0800)]
lint displays the entire lint path instead of just the name
probably not worth fixing, but what the heck.

SCCS-vsn: old/pcc/lint/llibs/Makefile 5.2

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 02:44:07 +0000 (18:44 -0800)]
ANSI fixes
don't return after forking, use _exit after forking
reformat so it's clearer (well, at least to me)

SCCS-vsn: usr.bin/wall/ttymsg.c 5.7

33 years agoDocument trailing slashing on path buildling paths
Keith Bostic [Tue, 26 Feb 1991 02:18:39 +0000 (18:18 -0800)]
Document trailing slashing on path buildling paths

SCCS-vsn: include/paths.h 5.13

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 02:14:58 +0000 (18:14 -0800)]
ANSI fixes
rip out pdp11, 4.1 compatibility code; use stdarg for printf routine

SCCS-vsn: old/sysline/sysline.c 5.17

33 years agomissed a sizeof when fixed the last one
Keith Bostic [Tue, 26 Feb 1991 01:59:25 +0000 (17:59 -0800)]
missed a sizeof when fixed the last one

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

33 years agoDatabases don't like it when the sizes of their keys change based
Keith Bostic [Tue, 26 Feb 1991 01:01:23 +0000 (17:01 -0800)]
Databases don't like it when the sizes of their keys change based
on the compiler they're using.  Also, might as well leave the secure db open
the fd's are marked close-on-exec.

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

33 years agostrings may no longer be writable (thanks, ANSI!)
Keith Bostic [Tue, 26 Feb 1991 00:33:13 +0000 (16:33 -0800)]
strings may no longer be writable (thanks, ANSI!)

SCCS-vsn: bin/ps/ps.c 5.36

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 00:11:56 +0000 (16:11 -0800)]
ANSI fixes

SCCS-vsn: bin/csh/alloc.c 5.4
SCCS-vsn: bin/csh/csh.c 5.17
SCCS-vsn: bin/csh/file.c 5.10
SCCS-vsn: bin/csh/csh.h 5.6
SCCS-vsn: bin/csh/proc.c 5.13

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 00:04:20 +0000 (16:04 -0800)]
ANSI fixes
convert struct direct to struct dirent; convert getwd(3) to getcwd(3)

SCCS-vsn: old/tar/tar.c 5.16

33 years agoANSI fixes (plus one real bug fix the compiler found)
Keith Bostic [Mon, 25 Feb 1991 23:54:53 +0000 (15:54 -0800)]
ANSI fixes (plus one real bug fix the compiler found)
convert sprintf(3) to snprintf(3); convert struct direct to struct dirent

SCCS-vsn: bin/rcp/rcp.c 5.32

33 years agoANSI fixes
Keith Bostic [Mon, 25 Feb 1991 23:39:10 +0000 (15:39 -0800)]
ANSI fixes

SCCS-vsn: bin/date/date.c 5.2
SCCS-vsn: bin/date/netdate.c 5.2
SCCS-vsn: bin/dd/dd.c 5.2
SCCS-vsn: bin/df/df.c 5.23
SCCS-vsn: bin/ed/ed.c 4.14
SCCS-vsn: bin/kill/kill.c 4.7

33 years agoANSI fixess
Keith Bostic [Mon, 25 Feb 1991 23:21:56 +0000 (15:21 -0800)]
ANSI fixess

SCCS-vsn: bin/csh/csh.c 5.16

33 years agoANSI fixes
Keith Bostic [Mon, 25 Feb 1991 23:21:39 +0000 (15:21 -0800)]
ANSI fixes

SCCS-vsn: bin/csh/file.c 5.9

33 years agoInclude files for function prototypes.
Donn Seeley [Mon, 25 Feb 1991 14:12:41 +0000 (06:12 -0800)]
Include files for function prototypes.

SCCS-vsn: bin/ln/ln.c 4.15

33 years agoFix __STDC__ version of C-shell printf() to be more like Classic C version.
Donn Seeley [Mon, 25 Feb 1991 12:42:33 +0000 (04:42 -0800)]
Fix __STDC__ version of C-shell printf() to be more like Classic C version.

SCCS-vsn: lib/libc/stdio/vfprintf.c 5.46

33 years agooff-by-one in path termination
Keith Bostic [Mon, 25 Feb 1991 11:38:47 +0000 (03:38 -0800)]
off-by-one in path termination

SCCS-vsn: lib/libc/gen/getcwd.c 5.11

33 years agoThere was a reason they included <sys/param.h> (MIN, MAX)
Keith Bostic [Mon, 25 Feb 1991 08:44:24 +0000 (00:44 -0800)]
There was a reason they included <sys/param.h>  (MIN, MAX)

SCCS-vsn: lib/libc/db/hash/hash_bigkey.c 5.3
SCCS-vsn: lib/libc/db/hash/hash_buf.c 5.6

33 years agoif entry length is bigger than the terminal, print only
Keith Bostic [Mon, 25 Feb 1991 08:39:55 +0000 (00:39 -0800)]
if entry length is bigger than the terminal, print only

SCCS-vsn: usr.bin/column/column.c 5.7

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 08:22:38 +0000 (00:22 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libkvm/kvm.c 5.13
SCCS-vsn: lib/libkvm/kvm_hp300.c 5.13
SCCS-vsn: lib/libkvm/kvm_proc.c 5.13

33 years agogetkerninfo takes a void *, not a char *
Keith Bostic [Mon, 25 Feb 1991 08:22:12 +0000 (00:22 -0800)]
getkerninfo takes a void *, not a char *

SCCS-vsn: sys/sys/sysctl.h 7.8

33 years agonew version of ndbm routines, minor cleanup
Keith Bostic [Mon, 25 Feb 1991 08:15:42 +0000 (00:15 -0800)]
new version of ndbm routines, minor cleanup

SCCS-vsn: lib/libkvm/kvm.c 5.12
SCCS-vsn: lib/libkvm/kvm_hp300.c 5.12
SCCS-vsn: lib/libkvm/kvm_proc.c 5.12

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 08:15:20 +0000 (00:15 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libcompat/4.3/rexec.c 5.9
SCCS-vsn: lib/libcompat/4.3/ruserpass.c 5.8
SCCS-vsn: lib/libcompat/4.1/vtimes.c 5.3
SCCS-vsn: lib/libplot/bitgraph/close.c 5.3
SCCS-vsn: lib/libplot/bitgraph/open.c 5.3
SCCS-vsn: lib/libplot/dumb/close.c 5.2
SCCS-vsn: lib/libplot/dumb/open.c 5.2
SCCS-vsn: lib/libplot/gigi/close.c 5.2
SCCS-vsn: lib/libplot/gigi/open.c 5.2
SCCS-vsn: lib/libplot/hp7221/close.c 5.2
SCCS-vsn: lib/libplot/hp7221/open.c 5.2
SCCS-vsn: lib/librpc/rpc/get_myaddress.c 1.3
SCCS-vsn: lib/librpc/rpc/bindresvport.c 1.2
SCCS-vsn: lib/librpc/rpc/pmap_rmt.c 1.3
SCCS-vsn: lib/librpc/rpc/svc_udp.c 1.2
SCCS-vsn: lib/librpc/rpc/xdr_rec.c 1.2
SCCS-vsn: lib/libutil/pty.c 5.2

33 years agomove insque/remque to libcompat, no longer need structure/prototypes
Keith Bostic [Mon, 25 Feb 1991 07:26:18 +0000 (23:26 -0800)]
move insque/remque to libcompat, no longer need structure/prototypes

SCCS-vsn: include/unistd.h 5.6

33 years agodate and time created 91/02/24 15:16:07 by bostic
Keith Bostic [Mon, 25 Feb 1991 07:16:07 +0000 (23:16 -0800)]
date and time created 91/02/24 15:16:07 by bostic

SCCS-vsn: lib/libc/db/Makefile.inc 5.1

33 years agonodev => enodev or enxio as appropriate; nulldev => nullop
Kirk McKusick [Mon, 25 Feb 1991 06:37:29 +0000 (22:37 -0800)]
nodev => enodev or enxio as appropriate; nulldev => nullop

SCCS-vsn: sys/tahoe/tahoe/conf.c 7.8

33 years agoadd ANSI prototypes
Keith Bostic [Mon, 25 Feb 1991 06:32:51 +0000 (22:32 -0800)]
add ANSI prototypes

SCCS-vsn: lib/libc/stdlib/getsubopt.c 5.2
SCCS-vsn: lib/libc/stdlib/getsubopt.3 5.2

33 years agodocument the 'b' and 'B' options
Kirk McKusick [Mon, 25 Feb 1991 06:32:06 +0000 (22:32 -0800)]
document the 'b' and 'B' options

SCCS-vsn: sbin/dump/dump.8 6.5

33 years agoadd prototype for getsubopt(3)
Keith Bostic [Mon, 25 Feb 1991 06:31:13 +0000 (22:31 -0800)]
add prototype for getsubopt(3)

SCCS-vsn: include/stdlib.h 5.11

33 years agolots of prototype corrections
Keith Bostic [Mon, 25 Feb 1991 06:18:21 +0000 (22:18 -0800)]
lots of prototype corrections

SCCS-vsn: include/unistd.h 5.5

33 years agodn_comp and dn_expand all expect u_char's, not chars
Keith Bostic [Mon, 25 Feb 1991 06:17:50 +0000 (22:17 -0800)]
dn_comp and dn_expand all expect u_char's, not chars

SCCS-vsn: include/resolv.h 5.13

33 years agoinclude sys/types.h, no longer need to typedef size_t
Keith Bostic [Mon, 25 Feb 1991 06:17:23 +0000 (22:17 -0800)]
include sys/types.h, no longer need to typedef size_t
typo in RAND_MAX define

SCCS-vsn: include/stdlib.h 5.10

33 years agomove P_tmpdir from /usr/tmp to /var/tmp
Keith Bostic [Mon, 25 Feb 1991 06:16:22 +0000 (22:16 -0800)]
move P_tmpdir from /usr/tmp to /var/tmp
add prototype for tempnam(3)

SCCS-vsn: include/stdio.h 5.12

33 years agogethostbyaddr takes a char *, not a void *
Keith Bostic [Mon, 25 Feb 1991 06:15:48 +0000 (22:15 -0800)]
gethostbyaddr takes a char *, not a void *
gethostbyname modifies what its argument references

SCCS-vsn: include/netdb.h 5.13

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 06:14:51 +0000 (22:14 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libcompat/regexp/regerror.c 5.2
SCCS-vsn: lib/libcompat/regexp/regexp.c 5.2
SCCS-vsn: lib/libcompat/regexp/regsub.c 5.2

33 years agomodf takes a double * as it's second argument
Keith Bostic [Mon, 25 Feb 1991 06:09:50 +0000 (22:09 -0800)]
modf takes a double * as it's second argument

SCCS-vsn: include/math.h 5.3

33 years agoswab takes void *'s, not char *'s
Keith Bostic [Mon, 25 Feb 1991 06:09:09 +0000 (22:09 -0800)]
swab takes void *'s, not char *'s

SCCS-vsn: include/string.h 5.9

33 years agoput "." at the end of the default path
Keith Bostic [Mon, 25 Feb 1991 06:08:55 +0000 (22:08 -0800)]
put "." at the end of the default path

SCCS-vsn: include/paths.h 5.12

33 years agodon't use syslog, application may have already used it.
Keith Bostic [Mon, 25 Feb 1991 06:06:50 +0000 (22:06 -0800)]
don't use syslog, application may have already used it.
Add include files to get prototype declarations, and fix bugs found.

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

33 years agoupdates from Mike to make messages more media independent;
Kirk McKusick [Mon, 25 Feb 1991 06:03:34 +0000 (22:03 -0800)]
updates from Mike to make messages more media independent;
add 'B' flag to specify number of blocks per volume

SCCS-vsn: sbin/dump/main.c 5.11
SCCS-vsn: sbin/dump/tape.c 5.13

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 05:57:56 +0000 (21:57 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/string/bcmp.c 5.6
SCCS-vsn: lib/libc/string/bzero.c 5.7
SCCS-vsn: lib/libc/string/index.c 5.7
SCCS-vsn: lib/libc/string/rindex.c 5.9
SCCS-vsn: lib/libc/string/strcat.c 5.6
SCCS-vsn: lib/libc/string/strcpy.c 5.7
SCCS-vsn: lib/libc/string/strdup.c 5.4
SCCS-vsn: lib/libc/string/strerror.c 5.5
SCCS-vsn: lib/libc/string/strftime.c 5.11
SCCS-vsn: lib/libc/string/strtok.c 5.8
SCCS-vsn: lib/libc/string/swab.c 5.9

33 years agotypo
Keith Bostic [Mon, 25 Feb 1991 05:45:12 +0000 (21:45 -0800)]
typo

SCCS-vsn: lib/libc/string/Makefile.inc 5.5

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 05:30:31 +0000 (21:30 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/stdio/fdopen.c 5.6
SCCS-vsn: lib/libc/stdio/findfp.c 5.10
SCCS-vsn: lib/libc/stdio/fpurge.c 5.2
SCCS-vsn: lib/libc/stdio/fputs.c 5.6
SCCS-vsn: lib/libc/stdio/freopen.c 5.6
SCCS-vsn: lib/libc/stdio/fseek.c 5.7
SCCS-vsn: lib/libc/stdio/fwalk.c 5.2
SCCS-vsn: lib/libc/stdio/fwrite.c 5.5
SCCS-vsn: lib/libc/stdio/makebuf.c 5.2
SCCS-vsn: lib/libc/stdio/mktemp.c 5.10
SCCS-vsn: lib/libc/stdio/perror.c 5.11
SCCS-vsn: lib/libc/stdio/puts.c 5.6
SCCS-vsn: lib/libc/stdio/refill.c 5.3
SCCS-vsn: lib/libc/stdio/remove.c 5.3
SCCS-vsn: lib/libc/stdio/setbuffer.c 5.4
SCCS-vsn: lib/libc/stdio/stdio.c 5.3
SCCS-vsn: lib/libc/stdio/tmpfile.c 5.3
SCCS-vsn: lib/libc/stdio/tmpnam.c 5.3
SCCS-vsn: lib/libc/stdio/vfprintf.c 5.45
SCCS-vsn: lib/libc/stdio/vfscanf.c 5.6
SCCS-vsn: lib/libc/stdio/vprintf.c 5.6
SCCS-vsn: lib/libc/stdio/wsetup.c 5.2

33 years agobcmp, bzero take void *, not char *
Keith Bostic [Mon, 25 Feb 1991 05:20:38 +0000 (21:20 -0800)]
bcmp, bzero take void *, not char *

SCCS-vsn: lib/libc/string/bcmp.c 5.5
SCCS-vsn: lib/libc/string/bzero.c 5.6

33 years agobcopy takes a void *, not a char *
Keith Bostic [Mon, 25 Feb 1991 05:20:04 +0000 (21:20 -0800)]
bcopy takes a void *, not a char *

SCCS-vsn: lib/libc/string/bcopy.c 5.10

33 years agoexec family (except for exect) are now machine-independent
Keith Bostic [Mon, 25 Feb 1991 05:19:12 +0000 (21:19 -0800)]
exec family (except for exect) are now machine-independent

SCCS-vsn: lib/libc/sys/Makefile.inc 5.6

33 years agolots of minor changes
Keith Bostic [Mon, 25 Feb 1991 05:18:32 +0000 (21:18 -0800)]
lots of minor changes

SCCS-vsn: lib/libc/stdio/Makefile.inc 5.2

33 years agoneed ctype.h, shouldn't have deleted it
Keith Bostic [Mon, 25 Feb 1991 05:14:38 +0000 (21:14 -0800)]
need ctype.h, shouldn't have deleted it

SCCS-vsn: lib/libc/net/gethostnamadr.c 6.45
SCCS-vsn: lib/libc/net/inet_addr.c 5.10
SCCS-vsn: lib/libc/net/inet_network.c 5.8
SCCS-vsn: lib/libc/net/rcmd.c 5.24
SCCS-vsn: lib/libc/net/res_query.c 5.10

33 years agodoesn't need ctype.h
Keith Bostic [Mon, 25 Feb 1991 04:56:20 +0000 (20:56 -0800)]
doesn't need ctype.h

SCCS-vsn: lib/libc/net/gethostnamadr.c 6.44

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 04:40:31 +0000 (20:40 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/net/gethostnamadr.c 6.43
SCCS-vsn: lib/libc/net/getnetbyname.c 5.7
SCCS-vsn: lib/libc/net/getnetent.c 5.8
SCCS-vsn: lib/libc/net/getprotoent.c 5.8
SCCS-vsn: lib/libc/net/getprotoname.c 5.7
SCCS-vsn: lib/libc/net/getservbyname.c 5.7
SCCS-vsn: lib/libc/net/getservbyport.c 5.7
SCCS-vsn: lib/libc/net/getservent.c 5.9
SCCS-vsn: lib/libc/net/herror.c 6.6
SCCS-vsn: lib/libc/net/inet_addr.c 5.9
SCCS-vsn: lib/libc/net/inet_lnaof.c 5.7
SCCS-vsn: lib/libc/net/inet_makeaddr.c 5.6
SCCS-vsn: lib/libc/net/inet_netof.c 5.7
SCCS-vsn: lib/libc/net/inet_network.c 5.7
SCCS-vsn: lib/libc/net/inet_ntoa.c 5.6
SCCS-vsn: lib/libc/net/iso_addr.c 5.4
SCCS-vsn: lib/libc/net/linkaddr.c 5.2
SCCS-vsn: lib/libc/net/ns_addr.c 6.7
SCCS-vsn: lib/libc/net/ns_ntoa.c 6.6
SCCS-vsn: lib/libc/net/rcmd.c 5.23
SCCS-vsn: lib/libc/net/recv.c 5.3
SCCS-vsn: lib/libc/net/res_comp.c 6.20
SCCS-vsn: lib/libc/net/res_debug.c 5.33
SCCS-vsn: lib/libc/net/res_init.c 6.15
SCCS-vsn: lib/libc/net/res_mkquery.c 6.15
SCCS-vsn: lib/libc/net/res_query.c 5.9
SCCS-vsn: lib/libc/net/res_send.c 6.27
SCCS-vsn: lib/libc/net/send.c 5.3
SCCS-vsn: lib/libc/net/sethostent.c 6.8

33 years agoincluded by arpa/inet.h, so protect it.
Keith Bostic [Mon, 25 Feb 1991 02:59:19 +0000 (18:59 -0800)]
included by arpa/inet.h, so protect it.

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

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 02:41:20 +0000 (18:41 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/locale/setlocale.c 5.2

33 years agoneeds limits.h
Keith Bostic [Mon, 25 Feb 1991 02:41:04 +0000 (18:41 -0800)]
needs limits.h

SCCS-vsn: lib/libc/locale/lconv.c 5.2

33 years agofirst pass at function prototypes with cdefs.h
Keith Bostic [Mon, 25 Feb 1991 02:40:28 +0000 (18:40 -0800)]
first pass at function prototypes with cdefs.h

SCCS-vsn: include/locale.h 5.2

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Keith Bostic [Mon, 25 Feb 1991 02:34:41 +0000 (18:34 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/compat-43/creat.c 5.3
SCCS-vsn: lib/libc/compat-43/killpg.c 5.3
SCCS-vsn: lib/libc/compat-43/setpgrp.c 5.2
SCCS-vsn: lib/libc/compat-43/sigcompat.c 5.3

33 years agoAdjustments and bug fixes after adding prototypes to include files.
Donn Seeley [Sun, 24 Feb 1991 14:56:45 +0000 (06:56 -0800)]
Adjustments and bug fixes after adding prototypes to include files.

SCCS-vsn: lib/libc/stdlib/abort.c 5.11
SCCS-vsn: lib/libc/stdlib/atoi.c 5.7
SCCS-vsn: lib/libc/stdlib/atol.c 5.7
SCCS-vsn: lib/libc/stdlib/bsearch.c 5.4
SCCS-vsn: lib/libc/stdlib/calloc.c 5.6
SCCS-vsn: lib/libc/stdlib/exit.c 5.4
SCCS-vsn: lib/libc/stdlib/getenv.c 5.8
SCCS-vsn: lib/libc/stdlib/malloc.c 5.11
SCCS-vsn: lib/libc/stdlib/putenv.c 5.4
SCCS-vsn: lib/libc/stdlib/qsort.c 5.9
SCCS-vsn: lib/libc/stdlib/radixsort.c 5.7
SCCS-vsn: lib/libc/stdlib/rand.c 5.5
SCCS-vsn: lib/libc/stdlib/setenv.c 5.5
SCCS-vsn: lib/libc/stdlib/strtol.c 5.4
SCCS-vsn: lib/libc/stdlib/strtoul.c 5.3
SCCS-vsn: lib/libc/stdlib/system.c 5.10

33 years agoRuin Keith's finely crafted ANSI C code to make it compile with PCC.
Donn Seeley [Sun, 24 Feb 1991 12:19:14 +0000 (04:19 -0800)]
Ruin Keith's finely crafted ANSI C code to make it compile with PCC.

SCCS-vsn: lib/libc/gen/exec.c 5.6

33 years agoAdd include files to get prototype declarations, and fix bugs found.
Donn Seeley [Sun, 24 Feb 1991 11:50:21 +0000 (03:50 -0800)]
Add include files to get prototype declarations, and fix bugs found.

SCCS-vsn: lib/libc/gen/alarm.c 5.5
SCCS-vsn: lib/libc/gen/closedir.c 5.9
SCCS-vsn: lib/libc/gen/crypt.c 5.4
SCCS-vsn: lib/libc/gen/ctime.c 5.26
SCCS-vsn: lib/libc/gen/disklabel.c 5.17
SCCS-vsn: lib/libc/gen/fnmatch.c 5.4
SCCS-vsn: lib/libc/gen/frexp.c 5.3
SCCS-vsn: lib/libc/gen/fstab.c 5.15
SCCS-vsn: lib/libc/gen/getcwd.c 5.10
SCCS-vsn: lib/libc/gen/getgrent.c 5.8
SCCS-vsn: lib/libc/gen/getlogin.c 5.9
SCCS-vsn: lib/libc/gen/getmntinfo.c 6.4
SCCS-vsn: lib/libc/gen/getpass.c 5.8
SCCS-vsn: lib/libc/gen/getttyent.c 5.9
SCCS-vsn: lib/libc/gen/getusershell.c 5.7
SCCS-vsn: lib/libc/gen/glob.c 5.4
SCCS-vsn: lib/libc/gen/initgroups.c 5.7
SCCS-vsn: lib/libcompat/4.3/insque.c 5.4
SCCS-vsn: lib/libc/gen/isatty.c 5.6
SCCS-vsn: lib/libc/gen/nice.c 5.5
SCCS-vsn: lib/libc/gen/nlist.c 5.8
SCCS-vsn: lib/libc/mips/gen/nlist.c 5.8
SCCS-vsn: lib/libc/gen/opendir.c 5.11
SCCS-vsn: lib/libc/gen/pause.c 5.7
SCCS-vsn: lib/libc/gen/popen.c 5.15
SCCS-vsn: lib/libc/gen/psignal.c 5.6
SCCS-vsn: lib/libcompat/4.3/regex.c 5.4
SCCS-vsn: lib/libcompat/4.3/remque.c 5.4
SCCS-vsn: lib/libc/gen/scandir.c 5.10
SCCS-vsn: lib/libc/compat-43/setrgid.c 5.5
SCCS-vsn: lib/libc/gen/setjmperr.c 5.8
SCCS-vsn: lib/libc/compat-43/setruid.c 5.5
SCCS-vsn: lib/libc/gen/siglist.c 5.6
SCCS-vsn: lib/libc/gen/sigsetops.c 5.3
SCCS-vsn: lib/libc/gen/sleep.c 5.6
SCCS-vsn: lib/libc/gen/syslog.c 5.33
SCCS-vsn: lib/libc/gen/telldir.c 5.9
SCCS-vsn: lib/libc/gen/termios.c 5.4
SCCS-vsn: lib/libc/gen/timezone.c 5.10
SCCS-vsn: lib/libc/gen/ttyname.c 5.8
SCCS-vsn: lib/libc/gen/ttyslot.c 5.6
SCCS-vsn: lib/libc/gen/ualarm.c 5.5
SCCS-vsn: lib/libc/gen/unvis.c 1.4
SCCS-vsn: lib/libc/gen/usleep.c 5.6
SCCS-vsn: lib/libc/gen/utime.c 5.4
SCCS-vsn: lib/libc/gen/valloc.c 5.5
SCCS-vsn: lib/libc/gen/vis.c 5.4
SCCS-vsn: lib/libc/gen/wait.c 5.4
SCCS-vsn: lib/libc/gen/wait3.c 5.6
SCCS-vsn: lib/libc/gen/waitpid.c 5.4

33 years agoMake unvis() have more reasonable argument types.
Donn Seeley [Sun, 24 Feb 1991 11:34:15 +0000 (03:34 -0800)]
Make unvis() have more reasonable argument types.

SCCS-vsn: include/vis.h 5.8

33 years agoGet the return type right for setlogmask().
Donn Seeley [Sun, 24 Feb 1991 11:08:41 +0000 (03:08 -0800)]
Get the return type right for setlogmask().

SCCS-vsn: sys/sys/syslog.h 7.20

33 years agoAdjust the type of scandir's function argument.
Donn Seeley [Sun, 24 Feb 1991 10:52:51 +0000 (02:52 -0800)]
Adjust the type of scandir's function argument.

SCCS-vsn: include/dirent.h 5.18

33 years agoAdd a forward declaration of struct rusage.
Donn Seeley [Sun, 24 Feb 1991 10:40:00 +0000 (02:40 -0800)]
Add a forward declaration of struct rusage.

SCCS-vsn: sys/sys/wait.h 7.16

33 years agoredo all the exec routines from scratch in C (well, ANSI C)
Keith Bostic [Sun, 24 Feb 1991 08:37:02 +0000 (00:37 -0800)]
redo all the exec routines from scratch in C (well, ANSI C)
changed path to look at "." last
don't let execlp/execvp ignore execve errors
changed name from execvp.c to exec.c

SCCS-vsn: lib/libc/gen/exec.c 5.5

33 years agofrom POSIX.1 documentation -- specify what *really* happens.
Keith Bostic [Sun, 24 Feb 1991 08:35:04 +0000 (00:35 -0800)]
from POSIX.1 documentation -- specify what *really* happens.
move from execvp.3 to exec.3

SCCS-vsn: lib/libc/gen/exec.3 6.3

33 years agoIt's just fhandle_t, not struct fhandle_t!
Donn Seeley [Sun, 24 Feb 1991 08:24:39 +0000 (00:24 -0800)]
It's just fhandle_t, not struct fhandle_t!

SCCS-vsn: sys/sys/mount.h 7.19

33 years agowarn about missing /etc/dumpdates, and detect errors when rewriting;
Chris Torek [Sun, 24 Feb 1991 08:16:19 +0000 (00:16 -0800)]
warn about missing /etc/dumpdates, and detect errors when rewriting;
perror => strerror; fix gcc warnings; quit via new quit() function;
dump size estimate functions move to dumptraverse.c

SCCS-vsn: sbin/dump/itime.c 5.4

33 years agofix gcc warnings; add dev_bshift and tp_bshift variables
Chris Torek [Sun, 24 Feb 1991 08:16:06 +0000 (00:16 -0800)]
fix gcc warnings; add dev_bshift and tp_bshift variables

SCCS-vsn: sbin/dump/dump.h 5.9

33 years agofix gcc warnings; add quit() function to print message and abort;
Chris Torek [Sun, 24 Feb 1991 08:15:54 +0000 (00:15 -0800)]
fix gcc warnings; add quit() function to print message and abort;
stop cheating on /etc/group functions; use varargs where needed;
check for NULL return from malloc; use strdup instead of recreating it;
do not loop forever if controlling tty disappears

SCCS-vsn: sbin/dump/optr.c 5.4

33 years agofix gcc warnings
Chris Torek [Sun, 24 Feb 1991 08:15:29 +0000 (00:15 -0800)]
fix gcc warnings

SCCS-vsn: sbin/dump/unctime.c 5.2
SCCS-vsn: sbin/dump/dumprmt.c 5.9

33 years agoadd dev_bshift to reduce multiply and divide by dev_bsize to shifts,
Chris Torek [Sun, 24 Feb 1991 08:15:16 +0000 (00:15 -0800)]
add dev_bshift to reduce multiply and divide by dev_bsize to shifts,
and likewise tp_bshift; fix gcc warnings; quit via new quit() function

SCCS-vsn: sbin/dump/main.c 5.10

33 years agoavoid multiply and divide when possible; fix gcc warnings;
Chris Torek [Sun, 24 Feb 1991 08:15:02 +0000 (00:15 -0800)]
avoid multiply and divide when possible; fix gcc warnings;
perror => strerror; quit via new quit() function

SCCS-vsn: sbin/dump/tape.c 5.12

33 years agoavoid multiply and divide when possible; fix gcc warnings;
Chris Torek [Sun, 24 Feb 1991 08:14:19 +0000 (00:14 -0800)]
avoid multiply and divide when possible; fix gcc warnings;
dump size estimate functions move here from dumpitime.c

SCCS-vsn: sbin/dump/traverse.c 5.6

33 years agowait3 and wait4 aren't POSIX functions.
Donn Seeley [Sun, 24 Feb 1991 06:27:17 +0000 (22:27 -0800)]
wait3 and wait4 aren't POSIX functions.

SCCS-vsn: sys/sys/wait.h 7.15

33 years agoGoof in order of arguments for vis() prototype.
Donn Seeley [Sun, 24 Feb 1991 06:24:20 +0000 (22:24 -0800)]
Goof in order of arguments for vis() prototype.

SCCS-vsn: include/vis.h 5.7

33 years agoAdd const qualifiers to make utime declaration more like POSIX version.
Donn Seeley [Sun, 24 Feb 1991 06:13:01 +0000 (22:13 -0800)]
Add const qualifiers to make utime declaration more like POSIX version.

SCCS-vsn: include/utime.h 5.3

33 years agodefault path, used by sh(1) and C library exec routines
Keith Bostic [Sun, 24 Feb 1991 03:18:00 +0000 (19:18 -0800)]
default path, used by sh(1) and C library exec routines

SCCS-vsn: include/paths.h 5.11

33 years agomove default into <paths.h>, needed by the library exec routines
Keith Bostic [Sun, 24 Feb 1991 03:16:29 +0000 (19:16 -0800)]
move default into <paths.h>, needed by the library exec routines

SCCS-vsn: old/sh/pathnames.h 5.3

33 years agoOne more prototype declaration.
Donn Seeley [Sun, 24 Feb 1991 03:13:09 +0000 (19:13 -0800)]
One more prototype declaration.

SCCS-vsn: sys/sys/fcntl.h 5.12

33 years agoPrototype declarations.
Donn Seeley [Sun, 24 Feb 1991 03:06:53 +0000 (19:06 -0800)]
Prototype declarations.

SCCS-vsn: sys/sys/socket.h 7.11

33 years agoblackbox the token passed between getmode and setmode via the application
Keith Bostic [Sun, 24 Feb 1991 03:02:52 +0000 (19:02 -0800)]
blackbox the token passed between getmode and setmode via the application

SCCS-vsn: lib/libc/gen/setmode.c 5.5

33 years agoreformat to KNF
Keith Bostic [Sun, 24 Feb 1991 02:47:29 +0000 (18:47 -0800)]
reformat to KNF

SCCS-vsn: lib/libc/stdlib/random.c 5.9

33 years agoChanges for prototype declarations.
Donn Seeley [Sun, 24 Feb 1991 02:11:09 +0000 (18:11 -0800)]
Changes for prototype declarations.

SCCS-vsn: lib/libc/stdlib/random.c 5.8
SCCS-vsn: lib/libc/stdlib/getopt.c 4.13

33 years agoChanges to accommodate prototype declarations.
Donn Seeley [Sun, 24 Feb 1991 01:45:44 +0000 (17:45 -0800)]
Changes to accommodate prototype declarations.

SCCS-vsn: lib/libc/gen/exec.c 5.4

33 years agomake flags arguments right
Keith Bostic [Sun, 24 Feb 1991 01:24:02 +0000 (17:24 -0800)]
make flags arguments right

SCCS-vsn: lib/libc/db/hash/hash.c 5.11

33 years agomake flags right
Keith Bostic [Sun, 24 Feb 1991 01:23:52 +0000 (17:23 -0800)]
make flags right

SCCS-vsn: lib/libc/db/btree/bt_open.c 5.6

33 years agominor wordsmithing, make flags right
Keith Bostic [Sun, 24 Feb 1991 01:23:40 +0000 (17:23 -0800)]
minor wordsmithing, make flags right

SCCS-vsn: lib/libc/db/man/dbopen.3 5.14

33 years agoTweaks for psignal().
Donn Seeley [Sat, 23 Feb 1991 14:50:02 +0000 (06:50 -0800)]
Tweaks for psignal().

SCCS-vsn: include/unistd.h 5.4

33 years agoDeclare sys_siglist[] to go with psignal().
Donn Seeley [Sat, 23 Feb 1991 14:37:49 +0000 (06:37 -0800)]
Declare sys_siglist[] to go with psignal().

SCCS-vsn: include/unistd.h 5.4

33 years agoconst char ** => char * const *
Donn Seeley [Sat, 23 Feb 1991 11:50:29 +0000 (03:50 -0800)]
const char ** => char * const *

SCCS-vsn: include/fts.h 5.11

33 years agogdb does not allow writing of constant strings
Kirk McKusick [Sat, 23 Feb 1991 11:08:12 +0000 (03:08 -0800)]
gdb does not allow writing of constant strings

SCCS-vsn: sbin/restore/dirs.c 5.14

33 years agocleanup of byte swapping code
Kirk McKusick [Sat, 23 Feb 1991 11:01:45 +0000 (03:01 -0800)]
cleanup of byte swapping code

SCCS-vsn: sbin/restore/tape.c 5.21

33 years agomust use maximum directory blocksize across all architectures;
Kirk McKusick [Sat, 23 Feb 1991 10:30:15 +0000 (02:30 -0800)]
must use maximum directory blocksize across all architectures;
Be more paranoid about directory structure and print warnings when found

SCCS-vsn: sbin/restore/dirs.c 5.13

33 years agoOn tahoe, must use secsize of 1024, even though the disk label claims 512
Kirk McKusick [Sat, 23 Feb 1991 10:20:04 +0000 (02:20 -0800)]
On tahoe, must use secsize of 1024, even though the disk label claims 512

SCCS-vsn: sbin/fsck/setup.c 5.33

33 years agoANSI prototypes
Keith Bostic [Sat, 23 Feb 1991 09:23:40 +0000 (01:23 -0800)]
ANSI prototypes

SCCS-vsn: lib/libc/db/btree/bt_overflow.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_open.c 5.5
SCCS-vsn: lib/libc/db/btree/btree.h 5.2
SCCS-vsn: lib/libc/db/btree/bt_delete.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_put.c 5.3
SCCS-vsn: lib/libc/db/btree/lrucache.c 5.3
SCCS-vsn: lib/libc/db/btree/lruhash.c 5.2
SCCS-vsn: lib/libc/db/btree/lrutils.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_seq.c 5.3
SCCS-vsn: lib/libc/db/btree/bt_split.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_get.c 5.2
SCCS-vsn: lib/libc/db/btree/updutils.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_utils.c 5.2
SCCS-vsn: lib/libc/db/hash/hash_bigkey.c 5.2
SCCS-vsn: lib/libc/db/hash/hash_buf.c 5.5
SCCS-vsn: lib/libc/db/hash/hash.c 5.10
SCCS-vsn: lib/libc/db/hash/hsearch.c 5.3
SCCS-vsn: lib/libc/db/hash/ndbm.c 5.4
SCCS-vsn: lib/libc/db/hash/hash_page.c 5.9

33 years agoFix some overeager use of 'const'.
Donn Seeley [Sat, 23 Feb 1991 09:06:57 +0000 (01:06 -0800)]
Fix some overeager use of 'const'.

SCCS-vsn: include/time.h 5.11

33 years agomktime()'s argument isn't const.
Donn Seeley [Sat, 23 Feb 1991 09:02:56 +0000 (01:02 -0800)]
mktime()'s argument isn't const.

SCCS-vsn: include/time.h 5.11

33 years agocleanup, update, reimplement to work as correctly as possible
Keith Bostic [Sat, 23 Feb 1991 09:00:01 +0000 (01:00 -0800)]
cleanup, update, reimplement to work as correctly as possible

SCCS-vsn: lib/libc/stdio/tmpfile.c 5.2
SCCS-vsn: lib/libc/stdio/tmpnam.c 5.2
SCCS-vsn: lib/libc/stdio/tempnam.c 5.1
SCCS-vsn: lib/libc/stdio/tmpnam.3 5.11

33 years agoMake exect()'s prototype more like the (correct) one for execv().
Donn Seeley [Sat, 23 Feb 1991 07:19:22 +0000 (23:19 -0800)]
Make exect()'s prototype more like the (correct) one for execv().

SCCS-vsn: include/unistd.h 5.3

33 years agoadd sys/time.h, prototype for select needs it.
Keith Bostic [Sat, 23 Feb 1991 07:15:46 +0000 (23:15 -0800)]
add sys/time.h, prototype for select needs it.

SCCS-vsn: include/unistd.h 5.2

33 years agoFix 'const' problems with getopt()'s prototype.
Donn Seeley [Sat, 23 Feb 1991 07:14:06 +0000 (23:14 -0800)]
Fix 'const' problems with getopt()'s prototype.

SCCS-vsn: include/stdlib.h 5.9

33 years agoa little less verbose, please
Keith Bostic [Sat, 23 Feb 1991 06:35:07 +0000 (22:35 -0800)]
a little less verbose, please

SCCS-vsn: lib/libc/sys/Makefile.inc 5.5