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

33 years agouse stdarg.h, not varargs.h
Keith Bostic [Sat, 23 Feb 1991 06:25:07 +0000 (22:25 -0800)]
use stdarg.h, not varargs.h

SCCS-vsn: libexec/mail.local/mail.local.c 5.3

33 years agooflags-FOPEN => FFLAGS(oflags)
Mike Karels [Sat, 23 Feb 1991 06:13:01 +0000 (22:13 -0800)]
oflags-FOPEN => FFLAGS(oflags)

SCCS-vsn: sys/kern/vfs_syscalls.c 7.64

33 years agoprotect stdarg.h -- used by syslog.h and probably by others
Keith Bostic [Sat, 23 Feb 1991 06:02:38 +0000 (22:02 -0800)]
protect stdarg.h -- used by syslog.h and probably by others

SCCS-vsn: include/stdarg.h 5.5

33 years agouse stdarg, not varargs
Keith Bostic [Sat, 23 Feb 1991 06:01:18 +0000 (22:01 -0800)]
use stdarg, not varargs

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

33 years agocheck for ranlib magic string was wrong, so if the ranlib archive
Keith Bostic [Sat, 23 Feb 1991 05:03:25 +0000 (21:03 -0800)]
check for ranlib magic string was wrong, so if the ranlib archive
happened to have an okay exec magic number, entered the twilight zone.

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

33 years agorearrange, put all open() and file f_flags definitions here,
Mike Karels [Sat, 23 Feb 1991 04:35:21 +0000 (20:35 -0800)]
rearrange, put all open() and file f_flags definitions here,
put fcntl stuff together, move all seek, etc. defs to unistd.h

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

33 years agofix GUNIT ioctl
Mike Karels [Sat, 23 Feb 1991 04:33:19 +0000 (20:33 -0800)]
fix GUNIT ioctl

SCCS-vsn: sys/net/if_slvar.h 7.6

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 04:12:30 +0000 (20:12 -0800)]
Prototype declarations.

SCCS-vsn: sys/sys/syslog.h 7.18
SCCS-vsn: sys/sys/termios.h 7.21
SCCS-vsn: sys/sys/time.h 7.6

33 years agodate and time created 91/02/22 11:34:25 by bostic
Keith Bostic [Sat, 23 Feb 1991 03:34:25 +0000 (19:34 -0800)]
date and time created 91/02/22 11:34:25 by bostic

SCCS-vsn: include/unistd.h 5.1

33 years agobreak unistd.h up into <unistd.h> and <sys/unistd.h>
Keith Bostic [Sat, 23 Feb 1991 03:34:07 +0000 (19:34 -0800)]
break unistd.h up into <unistd.h> and <sys/unistd.h>

SCCS-vsn: sys/sys/unistd.h 5.13

33 years agoOne more prototype declaration.
Donn Seeley [Sat, 23 Feb 1991 03:20:43 +0000 (19:20 -0800)]
One more prototype declaration.

SCCS-vsn: sys/sys/stat.h 7.10

33 years agofsync the mailbox file descriptor
Keith Bostic [Sat, 23 Feb 1991 03:20:30 +0000 (19:20 -0800)]
fsync the mailbox file descriptor

SCCS-vsn: libexec/mail.local/mail.local.c 5.2

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 03:15:11 +0000 (19:15 -0800)]
Prototype declarations.

SCCS-vsn: sys/sys/ptrace.h 7.4
SCCS-vsn: sys/ufs/ffs/quota.h 7.9
SCCS-vsn: sys/ufs/ufs/quota.h 7.9

33 years agoNew-style prototype declarations.
Donn Seeley [Sat, 23 Feb 1991 02:41:42 +0000 (18:41 -0800)]
New-style prototype declarations.

SCCS-vsn: sys/netns/ns.h 7.8

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 02:37:01 +0000 (18:37 -0800)]
Prototype declarations.

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

33 years agoPrototype declarations. Currently we're using 'int' lengths; these ought
Donn Seeley [Sat, 23 Feb 1991 02:31:35 +0000 (18:31 -0800)]
Prototype declarations.  Currently we're using 'int' lengths; these ought
to be size_t, I suppose, but we can fix that later.

SCCS-vsn: sys/sys/mman.h 7.4

33 years agoANSI fix
Keith Bostic [Sat, 23 Feb 1991 02:29:27 +0000 (18:29 -0800)]
ANSI fix

SCCS-vsn: lib/libc/db/hash/hash_page.c 5.8

33 years agoANSI and c++ stuff
Keith Bostic [Sat, 23 Feb 1991 02:21:49 +0000 (18:21 -0800)]
ANSI and c++ stuff

SCCS-vsn: lib/libc/db/hash/ndbm.c 5.3
SCCS-vsn: lib/libc/db/hash/hash.c 5.9

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 02:19:37 +0000 (18:19 -0800)]
Prototype declarations.

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

33 years agob{cmp,copy,zero} all take void *, not char *
Keith Bostic [Sat, 23 Feb 1991 02:18:54 +0000 (18:18 -0800)]
b{cmp,copy,zero} all take void *, not char *

SCCS-vsn: include/string.h 5.8

33 years agomore compatibility
Keith Bostic [Sat, 23 Feb 1991 02:11:17 +0000 (18:11 -0800)]
more compatibility

SCCS-vsn: lib/libc/db/hash/README 5.3

33 years agomake safe for c++
Keith Bostic [Sat, 23 Feb 1991 02:08:54 +0000 (18:08 -0800)]
make safe for c++

SCCS-vsn: include/db.h 5.4

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 01:59:57 +0000 (17:59 -0800)]
Prototype declarations.

SCCS-vsn: sys/netiso/iso.h 7.5

33 years agoPrototype declaration.
Donn Seeley [Sat, 23 Feb 1991 01:53:58 +0000 (17:53 -0800)]
Prototype declaration.

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

33 years agomove old lseek values here from sys/file.h; #ifdef KERNEL prototypes
Mike Karels [Sat, 23 Feb 1991 01:46:26 +0000 (17:46 -0800)]
move old lseek values here from sys/file.h; #ifdef KERNEL prototypes

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

33 years agoPrototype declarations.
Donn Seeley [Sat, 23 Feb 1991 01:44:06 +0000 (17:44 -0800)]
Prototype declarations.

SCCS-vsn: sys/pmax/include/endian.h 7.7
SCCS-vsn: sys/pmax/include/endian.h 7.7

33 years agoall the p_ routines are static to the library
Keith Bostic [Sat, 23 Feb 1991 01:30:46 +0000 (17:30 -0800)]
all the p_ routines are static to the library

SCCS-vsn: include/resolv.h 5.12

33 years agoDeclarations for link_addr and link_ntoa.
Donn Seeley [Sat, 23 Feb 1991 01:22:17 +0000 (17:22 -0800)]
Declarations for link_addr and link_ntoa.

SCCS-vsn: sys/net/if_dl.h 7.2

33 years agoThis baby is included by the kernel... Declare getdirentries() here.
Donn Seeley [Sat, 23 Feb 1991 01:04:33 +0000 (17:04 -0800)]
This baby is included by the kernel...  Declare getdirentries() here.

SCCS-vsn: include/dirent.h 5.17

33 years agodirent.h is in /usr/include, not /usr/include/sys
Keith Bostic [Sat, 23 Feb 1991 01:00:39 +0000 (17:00 -0800)]
dirent.h is in /usr/include, not /usr/include/sys

SCCS-vsn: lib/libc/sys/getdirentries.2 6.3

33 years agosetpwfile has gone away
Keith Bostic [Sat, 23 Feb 1991 00:43:58 +0000 (16:43 -0800)]
setpwfile has gone away

SCCS-vsn: include/pwd.h 5.9

33 years agoRemove prototype parameter names, both because they didn't begin with
Donn Seeley [Sat, 23 Feb 1991 00:30:03 +0000 (16:30 -0800)]
Remove prototype parameter names, both because they didn't begin with
underscores and because they contained three of the four uses of C++ keywords.

SCCS-vsn: include/db.h 5.3

33 years agoBe consistent about using names for prototype parameters (they go) and
Donn Seeley [Sat, 23 Feb 1991 00:24:45 +0000 (16:24 -0800)]
Be consistent about using names for prototype parameters (they go) and
compensate slightly by being clearer about what functions are POSIX functions.

SCCS-vsn: include/stdio.h 5.11

33 years agoneed stdio for DEBUG and HASH_STATISTICS
Keith Bostic [Sat, 23 Feb 1991 00:18:55 +0000 (16:18 -0800)]
need stdio for DEBUG and HASH_STATISTICS

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

33 years agoAdded prototype declarations for documented interfaces.
Donn Seeley [Sat, 23 Feb 1991 00:06:42 +0000 (16:06 -0800)]
Added prototype declarations for documented interfaces.

SCCS-vsn: include/resolv.h 5.11

33 years agoReorganized declarations to accommodate both ANSI and POSIX. We still
Donn Seeley [Sat, 23 Feb 1991 00:05:57 +0000 (16:05 -0800)]
Reorganized declarations to accommodate both ANSI and POSIX.  We still
don't have implementations of sigsetjmp() and siglongjmp().

SCCS-vsn: include/setjmp.h 5.4

33 years agoAdded new prototype declarations and cleaned up.
Donn Seeley [Sat, 23 Feb 1991 00:03:41 +0000 (16:03 -0800)]
Added new prototype declarations and cleaned up.

SCCS-vsn: include/glob.h 5.3
SCCS-vsn: include/netdb.h 5.12
SCCS-vsn: include/stdlib.h 5.8
SCCS-vsn: include/time.h 5.10
SCCS-vsn: include/vis.h 5.6

33 years agofixes for multiple calls to namei (for rename in NFS)
Kirk McKusick [Fri, 22 Feb 1991 15:02:02 +0000 (07:02 -0800)]
fixes for multiple calls to namei (for rename in NFS)

SCCS-vsn: sys/sys/namei.h 7.13
SCCS-vsn: sys/nfs/nfs_vnops.c 7.52
SCCS-vsn: sys/ufs/ffs/ffs_vnops.c 7.54
SCCS-vsn: sys/ufs/ffs/ufs_vnops.c 7.54
SCCS-vsn: sys/ufs/lfs/lfs_vnops.c 7.54
SCCS-vsn: sys/ufs/ufs/ufs_vnops.c 7.54
SCCS-vsn: sys/ufs/ffs/ufs_lookup.c 7.25
SCCS-vsn: sys/ufs/ufs/ufs_lookup.c 7.25
SCCS-vsn: sys/nfs/nfs_serv.c 7.34
SCCS-vsn: sys/nfs/nfs_subs.c 7.36

33 years agofixes for rename in NFS
Kirk McKusick [Fri, 22 Feb 1991 14:53:16 +0000 (06:53 -0800)]
fixes for rename in NFS

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

33 years agosigsetjmp changes were wrong; back out for now
Keith Bostic [Fri, 22 Feb 1991 14:46:21 +0000 (06:46 -0800)]
sigsetjmp changes were wrong; back out for now

SCCS-vsn: include/setjmp.h 5.4

33 years agofixes for range locking
Kirk McKusick [Fri, 22 Feb 1991 11:32:56 +0000 (03:32 -0800)]
fixes for range locking

SCCS-vsn: sys/ufs/ffs/ffs_vnops.c 7.53
SCCS-vsn: sys/ufs/ffs/ufs_vnops.c 7.53
SCCS-vsn: sys/ufs/lfs/lfs_vnops.c 7.53
SCCS-vsn: sys/ufs/ufs/ufs_vnops.c 7.53

33 years agomake sure oaddr doesn't get set on empty pages
Keith Bostic [Fri, 22 Feb 1991 11:00:54 +0000 (03:00 -0800)]
make sure oaddr doesn't get set on empty pages

SCCS-vsn: lib/libc/db/hash/hash_buf.c 5.4

33 years agocount bitmaps so they can be free'd
Keith Bostic [Fri, 22 Feb 1991 10:57:47 +0000 (02:57 -0800)]
count bitmaps so they can be free'd

SCCS-vsn: lib/libc/db/hash/hash.h 5.3
SCCS-vsn: lib/libc/db/hash/hash_page.c 5.7

33 years agoclear errno on open/create after stat; count bitmaps so can be free'd
Keith Bostic [Fri, 22 Feb 1991 10:57:20 +0000 (02:57 -0800)]
clear errno on open/create after stat; count bitmaps so can be free'd

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

33 years agomake sure free'd overflow pages are not reread from disk and handle
Keith Bostic [Fri, 22 Feb 1991 10:54:02 +0000 (02:54 -0800)]
make sure free'd overflow pages are not reread from disk and handle
back-to-back big key pairs during split

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

33 years agoupdate from Margo Seltzer, for her partial distribution
Keith Bostic [Fri, 22 Feb 1991 09:58:33 +0000 (01:58 -0800)]
update from Margo Seltzer, for her partial distribution

SCCS-vsn: lib/libc/db/hash/README 5.2

33 years agoL_SET -> SEEK_SET
Keith Bostic [Fri, 22 Feb 1991 09:19:58 +0000 (01:19 -0800)]
L_SET -> SEEK_SET

SCCS-vsn: lib/libc/db/hash/hash_page.c 5.5
SCCS-vsn: lib/libc/db/hash/hash.c 5.6

33 years agodon't put namestr into text space -- Thanks ANSI!
Keith Bostic [Fri, 22 Feb 1991 09:15:39 +0000 (01:15 -0800)]
don't put namestr into text space -- Thanks ANSI!

SCCS-vsn: lib/libc/db/hash/hash_page.c 5.4

33 years agomove O_ACCMODE into ../dist/sysv.h
Keith Bostic [Fri, 22 Feb 1991 09:12:46 +0000 (01:12 -0800)]
move O_ACCMODE into ../dist/sysv.h

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

33 years agomove from libc into libdbm
Keith Bostic [Fri, 22 Feb 1991 08:41:53 +0000 (00:41 -0800)]
move from libc into libdbm

SCCS-vsn: old/libndbm/Makefile 5.10
SCCS-vsn: old/libndbm/ndbm.c 5.5

33 years agomake dn_skipname, fp_query, hostalias, p_cdname, p_class, p_query,
Keith Bostic [Fri, 22 Feb 1991 08:23:40 +0000 (00:23 -0800)]
make dn_skipname, fp_query, hostalias, p_cdname, p_class, p_query,
p_rr, p_time, p_type, putlong and putshort hidden

SCCS-vsn: lib/libc/net/Makefile.inc 5.3
SCCS-vsn: lib/libc/net/gethostnamadr.c 6.42
SCCS-vsn: lib/libc/net/res_comp.c 6.19
SCCS-vsn: lib/libc/net/res_debug.c 5.32
SCCS-vsn: lib/libc/net/res_mkquery.c 6.14
SCCS-vsn: lib/libc/net/res_query.c 5.8
SCCS-vsn: lib/libc/net/res_send.c 6.26

33 years agochanges to fflags FCNTLCANT => FCNTLFLAGS, FFLAGS/OFLAGS
Mike Karels [Fri, 22 Feb 1991 08:16:22 +0000 (00:16 -0800)]
changes to fflags FCNTLCANT => FCNTLFLAGS, FFLAGS/OFLAGS

SCCS-vsn: sys/kern/kern_descrip.c 7.19

33 years agodelete sethostfile(3)
Keith Bostic [Fri, 22 Feb 1991 06:10:25 +0000 (22:10 -0800)]
delete sethostfile(3)

SCCS-vsn: lib/libc/net/Makefile.inc 5.2
SCCS-vsn: lib/libc/net/sethostent.c 6.7

33 years agofirst pass at function prototypes with cdefs.h
Keith Bostic [Fri, 22 Feb 1991 05:53:15 +0000 (21:53 -0800)]
first pass at function prototypes with cdefs.h

SCCS-vsn: include/arpa/inet.h 5.5

33 years agofix include to be right, minor wordsmithing
Keith Bostic [Fri, 22 Feb 1991 05:49:12 +0000 (21:49 -0800)]
fix include to be right, minor wordsmithing

SCCS-vsn: lib/libc/net/byteorder.3 6.6

33 years agomove dkcksum() to sbin/disklabel/dkcksum.c
Keith Bostic [Fri, 22 Feb 1991 05:34:29 +0000 (21:34 -0800)]
move dkcksum() to sbin/disklabel/dkcksum.c

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

33 years agodate and time created 91/02/21 13:33:38 by bostic
Keith Bostic [Fri, 22 Feb 1991 05:33:38 +0000 (21:33 -0800)]
date and time created 91/02/21 13:33:38 by bostic

SCCS-vsn: sbin/disklabel/dkcksum.c 5.1

33 years agomorecore should be static
Keith Bostic [Fri, 22 Feb 1991 04:34:30 +0000 (20:34 -0800)]
morecore should be static

SCCS-vsn: lib/libc/stdlib/malloc.c 5.10

33 years agobackref and cclass should be static
Keith Bostic [Fri, 22 Feb 1991 04:33:34 +0000 (20:33 -0800)]
backref and cclass should be static

SCCS-vsn: lib/libcompat/4.3/regex.c 5.3

33 years agosave four bytes
Keith Bostic [Thu, 21 Feb 1991 01:07:30 +0000 (17:07 -0800)]
save four bytes

SCCS-vsn: lib/libc/gen/ctermid.c 5.2

33 years agodate and time created 91/02/20 08:59:59 by bostic
Keith Bostic [Thu, 21 Feb 1991 00:59:59 +0000 (16:59 -0800)]
date and time created 91/02/20 08:59:59 by bostic

SCCS-vsn: usr.bin/sed/TEST/math.sed 5.1

33 years agodon't do the fcntl unless the file was openeed
Keith Bostic [Thu, 21 Feb 1991 00:59:45 +0000 (16:59 -0800)]
don't do the fcntl unless the file was openeed

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

33 years agouse getcwd(3) malloc functionality to handle paths > 1024
Keith Bostic [Thu, 21 Feb 1991 00:33:44 +0000 (16:33 -0800)]
use getcwd(3) malloc functionality to handle paths > 1024

SCCS-vsn: bin/pwd/pwd.c 5.4

33 years agorename getwd to getcwd for POSIX.1 compatibility
Keith Bostic [Thu, 21 Feb 1991 00:26:10 +0000 (16:26 -0800)]
rename getwd to getcwd for POSIX.1 compatibility
add System V, X/Open style path malloc'ing if user argument is NULL.

SCCS-vsn: lib/libc/gen/getcwd.c 5.9
SCCS-vsn: lib/libc/gen/getcwd.3 6.3

33 years agoadd getwd(3)
Keith Bostic [Thu, 21 Feb 1991 00:15:59 +0000 (16:15 -0800)]
add getwd(3)

SCCS-vsn: lib/libc/compat-43/Makefile.inc 5.3

33 years agodate and time created 91/02/20 08:15:42 by bostic
Keith Bostic [Thu, 21 Feb 1991 00:15:42 +0000 (16:15 -0800)]
date and time created 91/02/20 08:15:42 by bostic

SCCS-vsn: lib/libc/compat-43/getwd.c 5.1

33 years agofix sbappend to check the last mbuf in a chain for M_EORness;
Keith Sklower [Wed, 20 Feb 1991 09:41:20 +0000 (01:41 -0800)]
fix sbappend to check the last mbuf in a chain for M_EORness;
fix sbcompress not to compress out zero length mbufs if the type is different.

SCCS-vsn: sys/kern/uipc_socket2.c 7.16

33 years agoTry not to initiate copyouts that are going to block
Mike Karels [Wed, 20 Feb 1991 09:06:04 +0000 (01:06 -0800)]
Try not to initiate copyouts that are going to block
for MSG_WAITALL or watermark conditions, unless there are exceptional conditionsa
(by sklower for history purposes before changes sockbuf storage conventions)/

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

33 years agoPOSIX requires this to be used in non-numerical situations
Keith Bostic [Wed, 20 Feb 1991 08:33:18 +0000 (00:33 -0800)]
POSIX requires this to be used in non-numerical situations

SCCS-vsn: sys/sys/errno.h 7.13
SCCS-vsn: lib/libc/gen/errlst.c 5.10

33 years agodate and time created 91/02/19 15:39:22 by bostic
Keith Bostic [Wed, 20 Feb 1991 07:39:22 +0000 (23:39 -0800)]
date and time created 91/02/19 15:39:22 by bostic

SCCS-vsn: lib/libc/gen/ctermid.c 5.1

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

SCCS-vsn: lib/libc/gen/ctermid.3 5.1

33 years ago1990 POSIX.1 revision moved ctermid to <stdio.h>
Keith Bostic [Wed, 20 Feb 1991 07:20:08 +0000 (23:20 -0800)]
1990 POSIX.1 revision moved ctermid to <stdio.h>

SCCS-vsn: sys/sys/unistd.h 5.11
SCCS-vsn: include/stdio.h 5.10

33 years agorename setpgrp to setpgid, add setpgrp compat call, update man page
Keith Bostic [Wed, 20 Feb 1991 06:58:51 +0000 (22:58 -0800)]
rename setpgrp to setpgid, add setpgrp compat call, update man page
date and time created 91/02/19 14:58:51 by bostic

SCCS-vsn: lib/libc/compat-43/setpgrp.c 5.1

33 years agorename setpgrp to setpgid, add setpgrp compat call, update man page
Keith Bostic [Wed, 20 Feb 1991 06:58:06 +0000 (22:58 -0800)]
rename setpgrp to setpgid, add setpgrp compat call, update man page

SCCS-vsn: lib/libc/sys/Makefile.inc 5.4
SCCS-vsn: lib/libc/sys/setpgid.2 6.2
SCCS-vsn: lib/libc/compat-43/Makefile.inc 5.2

33 years agosetpgrp renamed to setpgid
Keith Bostic [Wed, 20 Feb 1991 06:35:44 +0000 (22:35 -0800)]
setpgrp renamed to setpgid

SCCS-vsn: sys/kern/syscalls.master 7.24

33 years agovipw moved to usr.sbin
Keith Bostic [Wed, 20 Feb 1991 06:29:44 +0000 (22:29 -0800)]
vipw moved to usr.sbin

SCCS-vsn: usr.bin/chpass/Makefile 5.5
SCCS-vsn: usr.bin/passwd/Makefile 5.11

33 years agohacks for gcc pre-processor
Keith Bostic [Wed, 20 Feb 1991 06:25:50 +0000 (22:25 -0800)]
hacks for gcc pre-processor

SCCS-vsn: usr.bin/mkdep/Makefile 5.4

33 years agodate and time created 91/02/19 12:16:01 by bostic
Keith Bostic [Wed, 20 Feb 1991 04:16:01 +0000 (20:16 -0800)]
date and time created 91/02/19 12:16:01 by bostic

SCCS-vsn: lib/libc/gen/raise.3 5.1

33 years agodate and time created 91/02/19 12:15:56 by bostic
Keith Bostic [Wed, 20 Feb 1991 04:15:56 +0000 (20:15 -0800)]
date and time created 91/02/19 12:15:56 by bostic

SCCS-vsn: lib/libc/gen/raise.c 5.1

33 years agopipe is a libc routine, fix for ANSI C
Keith Bostic [Wed, 20 Feb 1991 04:01:47 +0000 (20:01 -0800)]
pipe is a libc routine, fix for ANSI C

SCCS-vsn: bin/dd/dd.c 5.1

33 years agodon't call fclose unless the file was opened
Keith Bostic [Wed, 20 Feb 1991 03:07:50 +0000 (19:07 -0800)]
don't call fclose unless the file was opened

SCCS-vsn: usr.bin/make/parse.c 5.18

33 years agohaving cloning messages generated rtalloc;
Keith Sklower [Wed, 20 Feb 1991 02:56:02 +0000 (18:56 -0800)]
having cloning messages generated rtalloc;
make sure when doing rtinit that you install a route to the
correct ifaddr.  Old slip lines caused problems.

SCCS-vsn: sys/net/route.c 7.19

33 years agoadd "pinning" to the buffer pool
Keith Bostic [Wed, 20 Feb 1991 02:31:59 +0000 (18:31 -0800)]
add "pinning" to the buffer pool
make -1 mean no open fd instead of 0

SCCS-vsn: lib/libc/db/hash/hash_page.c 5.3

33 years agomake return value static for hsearch interface
Keith Bostic [Wed, 20 Feb 1991 02:31:26 +0000 (18:31 -0800)]
make return value static for hsearch interface

SCCS-vsn: lib/libc/db/hash/hsearch.c 5.2

33 years agoadd "pinning" to the buffer pool
Keith Bostic [Wed, 20 Feb 1991 02:31:09 +0000 (18:31 -0800)]
add "pinning" to the buffer pool

SCCS-vsn: lib/libc/db/hash/hash.h 5.2

33 years agomake -1 mean no open fd instead of 0
Keith Bostic [Wed, 20 Feb 1991 02:30:40 +0000 (18:30 -0800)]
make -1 mean no open fd instead of 0
don't save the file if it's read-only
make sure db structure gets destroyed
always close the file
add "pinning" to the buffer pool

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

33 years agoadd "pinning" to the buffer pool
Keith Bostic [Wed, 20 Feb 1991 02:29:27 +0000 (18:29 -0800)]
add "pinning" to the buffer pool

SCCS-vsn: lib/libc/db/hash/hash_buf.c 5.2

33 years agoneed to include db.h -- we use HASHINFO here
Mike A. Olson [Tue, 19 Feb 1991 15:31:55 +0000 (07:31 -0800)]
need to include db.h -- we use HASHINFO here

SCCS-vsn: lib/libc/db/hash/ndbm.c 5.3

33 years agofix stack management bug
Mike A. Olson [Tue, 19 Feb 1991 14:49:01 +0000 (06:49 -0800)]
fix stack management bug

SCCS-vsn: lib/libc/db/btree/bt_open.c 5.4
SCCS-vsn: lib/libc/db/btree/bt_put.c 5.2
SCCS-vsn: lib/libc/db/btree/bt_seq.c 5.2

33 years ago(checked in by karels) treat MT_HEADER as MT_DATA in soreceive;
Keith Sklower [Tue, 19 Feb 1991 09:13:20 +0000 (01:13 -0800)]
(checked in by karels) treat MT_HEADER as MT_DATA in soreceive;
need to init len when MAPPED_MBUFS not defined

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