unix-history/.git
32 years agodate and time created 92/06/25 06:16:58 by torek
Chris Torek [Thu, 25 Jun 1992 21:16:58 +0000 (13:16 -0800)]
date and time created 92/06/25 06:16:58 by torek

SCCS-vsn: lib/libc/sparc/gen/Makefile.inc 5.1
SCCS-vsn: lib/libc/sparc/gen/_setjmp.s 5.1
SCCS-vsn: lib/libc/sparc/gen/fabs.s 5.1

32 years agocopyright
Chris Torek [Thu, 25 Jun 1992 21:01:13 +0000 (13:01 -0800)]
copyright

SCCS-vsn: lib/libc/sparc/DEFS.h 5.2
SCCS-vsn: lib/libc/sparc/SYS.h 5.2

32 years agodate and time created 92/06/25 05:58:24 by torek
Chris Torek [Thu, 25 Jun 1992 20:58:24 +0000 (12:58 -0800)]
date and time created 92/06/25 05:58:24 by torek

SCCS-vsn: lib/libc/sparc/SYS.h 5.1

32 years agodate and time created 92/06/25 05:58:23 by torek
Chris Torek [Thu, 25 Jun 1992 20:58:23 +0000 (12:58 -0800)]
date and time created 92/06/25 05:58:23 by torek

SCCS-vsn: lib/libc/sparc/DEFS.h 5.1

32 years agospec_fsync becomes real
Kirk McKusick [Thu, 25 Jun 1992 10:08:37 +0000 (02:08 -0800)]
spec_fsync becomes real

SCCS-vsn: sys/miscfs/specfs/specdev.h 7.10

32 years agobetter heuristic
Kirk McKusick [Thu, 25 Jun 1992 08:34:12 +0000 (00:34 -0800)]
better heuristic

SCCS-vsn: sys/vm/vm_mmap.c 7.13

32 years agohistory
Marc Teitelbaum [Thu, 25 Jun 1992 07:21:15 +0000 (23:21 -0800)]
history

SCCS-vsn: bin/sh/options.c 5.3

32 years agodate and time created 92/06/24 15:44:01 by mckusick
Kirk McKusick [Thu, 25 Jun 1992 06:44:01 +0000 (22:44 -0800)]
date and time created 92/06/24 15:44:01 by mckusick

SCCS-vsn: sys/sys/vnode_if.h 7.1

32 years agoinput error correction stuff
Edward Wang [Thu, 25 Jun 1992 05:58:00 +0000 (21:58 -0800)]
input error correction stuff

SCCS-vsn: usr.bin/window/tt.h 3.28
SCCS-vsn: usr.bin/window/ttzapple.c 3.12
SCCS-vsn: usr.bin/window/lcmd2.c 3.24
SCCS-vsn: usr.bin/window/ww.h 3.64
SCCS-vsn: usr.bin/window/wwrint.c 3.12

32 years agounion for storing inode number in on-disk inode
Kirk McKusick [Thu, 25 Jun 1992 05:26:02 +0000 (21:26 -0800)]
union for storing inode number in on-disk inode

SCCS-vsn: sys/ufs/ffs/dinode.h 7.18
SCCS-vsn: sys/ufs/ufs/dinode.h 7.18

32 years agoadd ftp.log to list of logs to rotate
Keith Bostic [Thu, 25 Jun 1992 03:24:42 +0000 (19:24 -0800)]
add ftp.log to list of logs to rotate

SCCS-vsn: etc/monthly 5.8

32 years agocheck for files too large to mmap, MAP_FILE goes away
Keith Bostic [Thu, 25 Jun 1992 03:18:45 +0000 (19:18 -0800)]
check for files too large to mmap, MAP_FILE goes away

SCCS-vsn: lib/libc/gen/nlist.c 5.11
SCCS-vsn: lib/libc/mips/gen/nlist.c 5.11

32 years agolseek takes a quad
Keith Bostic [Thu, 25 Jun 1992 03:15:39 +0000 (19:15 -0800)]
lseek takes a quad

SCCS-vsn: lib/libc/gen/telldir.c 5.10

32 years agoadd LOG_FTP facility
Keith Bostic [Thu, 25 Jun 1992 03:15:00 +0000 (19:15 -0800)]
add LOG_FTP facility

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

32 years agominor cleanups, ANSI prototypes
Keith Bostic [Thu, 25 Jun 1992 03:14:49 +0000 (19:14 -0800)]
minor cleanups, ANSI prototypes

SCCS-vsn: usr.bin/logger/logger.c 6.16

32 years agothe logmask (from setlogmask(3)) and priority masking were wrong
Keith Bostic [Thu, 25 Jun 1992 03:07:40 +0000 (19:07 -0800)]
the logmask (from setlogmask(3)) and priority masking were wrong

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

32 years agoadd ftp
Keith Bostic [Thu, 25 Jun 1992 01:10:10 +0000 (17:10 -0800)]
add ftp

SCCS-vsn: etc/syslog.conf 5.2

32 years agodelete MAP_FILE, check file size before attempting to map
Keith Bostic [Thu, 25 Jun 1992 00:48:12 +0000 (16:48 -0800)]
delete MAP_FILE, check file size before attempting to map

SCCS-vsn: usr.bin/look/look.c 5.2

32 years agodelete MAP_FILE, check for file larger than a mappable size
Keith Bostic [Thu, 25 Jun 1992 00:45:10 +0000 (16:45 -0800)]
delete MAP_FILE, check for file larger than a mappable size

SCCS-vsn: usr.bin/cmp/regular.c 5.5

32 years agodelete MAP_FILE, check file size before mmap'ing, print file name on
Keith Bostic [Thu, 25 Jun 1992 00:41:23 +0000 (16:41 -0800)]
delete MAP_FILE, check file size before mmap'ing, print file name on
error

SCCS-vsn: usr.bin/tail/forward.c 5.8
SCCS-vsn: usr.bin/tail/reverse.c 5.7
SCCS-vsn: usr.bin/tail/tail.c 5.12

32 years agouse constant SIZE_T_MAX instead of knowing what size it is
Keith Bostic [Thu, 25 Jun 1992 00:36:22 +0000 (16:36 -0800)]
use constant SIZE_T_MAX instead of knowing what size it is

SCCS-vsn: lib/libc/db/recno/rec_open.c 5.5

32 years agocheck size of mmap'd object; clean up error handling
Keith Bostic [Thu, 25 Jun 1992 00:33:26 +0000 (16:33 -0800)]
check size of mmap'd object; clean up error handling

SCCS-vsn: usr.bin/strip/strip.c 5.11

32 years agoadd #define for max size_t value
Keith Bostic [Thu, 25 Jun 1992 00:27:47 +0000 (16:27 -0800)]
add #define for max size_t value

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

32 years agofix mmap call (MAP_FILE is gone) plus type casting
Keith Bostic [Thu, 25 Jun 1992 00:23:13 +0000 (16:23 -0800)]
fix mmap call (MAP_FILE is gone) plus type casting

SCCS-vsn: usr.bin/strip/strip.c 5.10

32 years agodelete strcmp routine, now in libkern
Keith Bostic [Thu, 25 Jun 1992 00:20:49 +0000 (16:20 -0800)]
delete strcmp routine, now in libkern

SCCS-vsn: sys/hp300/hp300/autoconf.c 7.7

32 years agoadd strcmp.c
Keith Bostic [Thu, 25 Jun 1992 00:19:36 +0000 (16:19 -0800)]
add strcmp.c

SCCS-vsn: sys/libkern/Makefile 7.5

32 years agoadd include file for the open(2) flags
Keith Bostic [Thu, 25 Jun 1992 00:12:47 +0000 (16:12 -0800)]
add include file for the open(2) flags

SCCS-vsn: lib/libkvm/kvm_open.3 5.4

32 years agosparc
Chris Torek [Wed, 24 Jun 1992 17:19:55 +0000 (09:19 -0800)]
sparc

SCCS-vsn: include/setjmp.h 5.8

32 years agoadd random()
Chris Torek [Wed, 24 Jun 1992 16:12:25 +0000 (08:12 -0800)]
add random()

SCCS-vsn: sys/libkern/Makefile 7.4

32 years agoadd random(); note, this is not the libc random
Chris Torek [Wed, 24 Jun 1992 16:09:51 +0000 (08:09 -0800)]
add random(); note, this is not the libc random

SCCS-vsn: sys/libkern/libkern.h 7.3

32 years agodate and time created 92/06/24 01:08:54 by torek
Chris Torek [Wed, 24 Jun 1992 16:08:54 +0000 (08:08 -0800)]
date and time created 92/06/24 01:08:54 by torek

SCCS-vsn: sys/libkern/random.c 7.1

32 years agofix up profile clock start/stop; watch out for tick during changes
Chris Torek [Wed, 24 Jun 1992 15:22:19 +0000 (07:22 -0800)]
fix up profile clock start/stop; watch out for tick during changes

SCCS-vsn: sys/kern/sys_process.c 7.28

32 years agofix start/stop profclock calls
Chris Torek [Wed, 24 Jun 1992 15:12:36 +0000 (07:12 -0800)]
fix start/stop profclock calls

SCCS-vsn: sys/kern/sys_process.c 7.28

32 years agoadd note about cache handling
Mike Hibler [Wed, 24 Jun 1992 13:18:08 +0000 (05:18 -0800)]
add note about cache handling

SCCS-vsn: sys/hp300/DOC/TODO.hp300 1.2

32 years agodate and time created 92/06/23 22:16:46 by hibler
Mike Hibler [Wed, 24 Jun 1992 13:16:46 +0000 (05:16 -0800)]
date and time created 92/06/23 22:16:46 by hibler

SCCS-vsn: sys/hp300/DOC/TODO.hp300 1.1

32 years agocorrect attribution
Mike Hibler [Wed, 24 Jun 1992 13:09:15 +0000 (05:09 -0800)]
correct attribution

SCCS-vsn: sys/hp300/stand/ite_hy.c 7.2

32 years agomerge in changes for Sparc
Kirk McKusick [Wed, 24 Jun 1992 11:32:56 +0000 (03:32 -0800)]
merge in changes for Sparc

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

32 years agotimeval => timespec; lint; be more lenient about allocating new vnodes
Kirk McKusick [Wed, 24 Jun 1992 11:31:48 +0000 (03:31 -0800)]
timeval => timespec; lint; be more lenient about allocating new vnodes

SCCS-vsn: sys/kern/vfs_subr.c 7.80

32 years agomerge in changes for Sparc
Kirk McKusick [Wed, 24 Jun 1992 11:28:00 +0000 (03:28 -0800)]
merge in changes for Sparc

SCCS-vsn: sys/kern/kern_sig.c 7.46
SCCS-vsn: sys/kern/kern_resource.c 7.18
SCCS-vsn: sys/kern/kern_descrip.c 7.35

32 years agoadd ifdef FIFO's
Kirk McKusick [Wed, 24 Jun 1992 11:03:23 +0000 (03:03 -0800)]
add ifdef FIFO's

SCCS-vsn: sys/kern/vfs_conf.c 7.12

32 years agolint
Kirk McKusick [Wed, 24 Jun 1992 10:59:34 +0000 (02:59 -0800)]
lint

SCCS-vsn: sys/kern/vfs_bio.c 7.49
SCCS-vsn: sys/kern/vfs_cluster.c 7.49

32 years agoset SUGID when granting setuid/setgid privilege (to avoid
Kirk McKusick [Wed, 24 Jun 1992 10:58:05 +0000 (02:58 -0800)]
set SUGID when granting setuid/setgid privilege (to avoid
unscrupulous use of attach)

SCCS-vsn: sys/kern/kern_exec.c 7.62

32 years agoadd ptrace ATTACH/DETACH
Kirk McKusick [Wed, 24 Jun 1992 10:56:55 +0000 (02:56 -0800)]
add ptrace ATTACH/DETACH

SCCS-vsn: sys/kern/sys_process.c 7.27

32 years agoset SUGID when user/group when permissions change (to avoid
Kirk McKusick [Wed, 24 Jun 1992 10:56:21 +0000 (02:56 -0800)]
set SUGID when user/group when permissions change (to avoid
unscrupulous attaches)

SCCS-vsn: sys/kern/kern_prot.c 7.23

32 years agomove up init died panic to start of exit; ptrace ATTACH
Kirk McKusick [Wed, 24 Jun 1992 10:53:48 +0000 (02:53 -0800)]
move up init died panic to start of exit; ptrace ATTACH

SCCS-vsn: sys/kern/kern_exit.c 7.45

32 years agoprototype for proc_reparent
Kirk McKusick [Wed, 24 Jun 1992 10:50:07 +0000 (02:50 -0800)]
prototype for proc_reparent

SCCS-vsn: sys/sys/ptrace.h 7.6

32 years agoupdate MAXHOSTNAMELEN to 256
Cynthia A. E. Livingston [Wed, 24 Jun 1992 10:05:17 +0000 (02:05 -0800)]
update MAXHOSTNAMELEN to 256

SCCS-vsn: lib/libc/gen/gethostname.3 6.8

32 years agofix spelling.
Cynthia A. E. Livingston [Wed, 24 Jun 1992 10:03:28 +0000 (02:03 -0800)]
fix spelling.

SCCS-vsn: lib/libc/locale/ctype.3 6.8

32 years agominor nits
Cynthia A. E. Livingston [Wed, 24 Jun 1992 09:54:53 +0000 (01:54 -0800)]
minor nits

SCCS-vsn: bin/sync/sync.8 6.4

32 years agodate and time created 92/06/23 18:44:57 by marc
Marc Teitelbaum [Wed, 24 Jun 1992 09:44:57 +0000 (01:44 -0800)]
date and time created 92/06/23 18:44:57 by marc

SCCS-vsn: bin/sh/arith_lex.l 5.1

32 years agodate and time created 92/06/23 18:44:56 by marc
Marc Teitelbaum [Wed, 24 Jun 1992 09:44:56 +0000 (01:44 -0800)]
date and time created 92/06/23 18:44:56 by marc

SCCS-vsn: bin/sh/arith.y 5.1

32 years agoinclude <histedit.h>
Marc Teitelbaum [Wed, 24 Jun 1992 09:39:14 +0000 (01:39 -0800)]
include <histedit.h>

SCCS-vsn: bin/sh/myhistedit.h 1.2

32 years agohistedit.h ==> myhistedit.h to avoid naming conflict
Marc Teitelbaum [Wed, 24 Jun 1992 09:38:49 +0000 (01:38 -0800)]
histedit.h ==> myhistedit.h to avoid naming conflict

SCCS-vsn: bin/sh/input.c 5.6
SCCS-vsn: bin/sh/parser.c 5.7

32 years agodate and time created 92/06/23 18:13:27 by marc
Marc Teitelbaum [Wed, 24 Jun 1992 09:13:27 +0000 (01:13 -0800)]
date and time created 92/06/23 18:13:27 by marc

SCCS-vsn: bin/sh/Makefile 5.1

32 years agounsetfunc returns an error code
Marc Teitelbaum [Wed, 24 Jun 1992 09:10:32 +0000 (01:10 -0800)]
unsetfunc returns an error code

SCCS-vsn: bin/sh/exec.c 5.4

32 years agolseek takes an off_t (which is now a quad, so 0L loses bigtime)
Marc Teitelbaum [Wed, 24 Jun 1992 09:09:47 +0000 (01:09 -0800)]
lseek takes an off_t (which is now a quad, so 0L loses bigtime)

SCCS-vsn: bin/sh/redir.c 5.3

32 years agoprompt stuff for editing package
Marc Teitelbaum [Wed, 24 Jun 1992 09:09:00 +0000 (01:09 -0800)]
prompt stuff for editing package

SCCS-vsn: bin/sh/parser.h 5.3

32 years agounset -f
Marc Teitelbaum [Wed, 24 Jun 1992 09:08:28 +0000 (01:08 -0800)]
unset -f

SCCS-vsn: bin/sh/var.c 5.6

32 years agoadd dprintf for debugging.
Marc Teitelbaum [Wed, 24 Jun 1992 09:07:44 +0000 (01:07 -0800)]
add dprintf for debugging.

SCCS-vsn: bin/sh/output.c 5.2

32 years agonew options
Marc Teitelbaum [Wed, 24 Jun 1992 09:06:59 +0000 (01:06 -0800)]
new options

SCCS-vsn: bin/sh/options.h 5.2

32 years agoediting and aliases. remove ATTY
Marc Teitelbaum [Wed, 24 Jun 1992 09:06:40 +0000 (01:06 -0800)]
editing and aliases.  remove ATTY

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

32 years agoremove unneded prototypes
Marc Teitelbaum [Wed, 24 Jun 1992 09:05:51 +0000 (01:05 -0800)]
remove unneded prototypes

SCCS-vsn: bin/sh/mystring.h 5.2

32 years agocleanup. remove unneeded routines
Marc Teitelbaum [Wed, 24 Jun 1992 09:05:31 +0000 (01:05 -0800)]
cleanup.  remove unneeded routines

SCCS-vsn: bin/sh/mystring.c 5.2

32 years agooff_t is now a quad. 0L looses.
Marc Teitelbaum [Wed, 24 Jun 1992 09:04:55 +0000 (01:04 -0800)]
off_t is now a quad.  0L looses.

SCCS-vsn: bin/sh/mkinit.c 5.4

32 years agoSIGTTIN also
Marc Teitelbaum [Wed, 24 Jun 1992 09:03:46 +0000 (01:03 -0800)]
SIGTTIN also

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

32 years agoroutines for supporting aliases
Marc Teitelbaum [Wed, 24 Jun 1992 09:02:59 +0000 (01:02 -0800)]
routines for supporting aliases

SCCS-vsn: bin/sh/input.h 5.2

32 years agoSHINIT and ENV. fix -I bug (only check at top level)
Marc Teitelbaum [Wed, 24 Jun 1992 09:02:22 +0000 (01:02 -0800)]
SHINIT and ENV.  fix -I bug (only check at top level)

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

32 years agominor cleanups
Marc Teitelbaum [Wed, 24 Jun 1992 09:00:54 +0000 (01:00 -0800)]
minor cleanups

SCCS-vsn: bin/sh/expand.c 5.4

32 years agounsetfunc returns status
Marc Teitelbaum [Wed, 24 Jun 1992 08:58:03 +0000 (00:58 -0800)]
unsetfunc returns status

SCCS-vsn: bin/sh/exec.h 5.2

32 years agoaliases and editing (and -v, sort of)
Marc Teitelbaum [Wed, 24 Jun 1992 08:56:55 +0000 (00:56 -0800)]
aliases and editing (and -v, sort of)

SCCS-vsn: bin/sh/input.c 5.5

32 years agodate and time created 92/06/23 17:55:33 by mckusick
Kirk McKusick [Wed, 24 Jun 1992 08:55:33 +0000 (00:55 -0800)]
date and time created 92/06/23 17:55:33 by mckusick

SCCS-vsn: lib/libc/sys/mmap.c 5.1

32 years agouse sigaction to determine state of signal
Marc Teitelbaum [Wed, 24 Jun 1992 08:55:33 +0000 (00:55 -0800)]
use sigaction to determine state of signal

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

32 years agoediting
Marc Teitelbaum [Wed, 24 Jun 1992 08:54:26 +0000 (00:54 -0800)]
editing

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

32 years agommap needs a glue file to provide compatibility with GCC 1.X and GCC 2.X
Kirk McKusick [Wed, 24 Jun 1992 08:54:08 +0000 (00:54 -0800)]
mmap needs a glue file to provide compatibility with GCC 1.X and GCC 2.X

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

32 years agonew builtins
Marc Teitelbaum [Wed, 24 Jun 1992 08:53:57 +0000 (00:53 -0800)]
new builtins

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

32 years agoIt makes a BIG difference if you prune duplicate entries.
Marc Teitelbaum [Wed, 24 Jun 1992 08:39:32 +0000 (00:39 -0800)]
It makes a BIG difference if you prune duplicate entries.
Normally LOTS of them occur...

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

32 years agono such thing as EFBIG on read; panic if reading short symlink
Kirk McKusick [Wed, 24 Jun 1992 08:33:57 +0000 (00:33 -0800)]
no such thing as EFBIG on read; panic if reading short symlink

SCCS-vsn: sys/ufs/ffs/ffs_vnops.c 7.84

32 years agozero mount structure; set mnt_maxsymlinklen
Kirk McKusick [Wed, 24 Jun 1992 08:29:49 +0000 (00:29 -0800)]
zero mount structure; set mnt_maxsymlinklen

SCCS-vsn: sys/ufs/ffs/ffs_vfsops.c 7.67

32 years agomove systm.h into KERNEL only defines
Kirk McKusick [Wed, 24 Jun 1992 08:28:37 +0000 (00:28 -0800)]
move systm.h into KERNEL only defines

SCCS-vsn: sys/ufs/ffs/ffs_subr.c 7.25

32 years agoadd code to implement short symbolic links
Kirk McKusick [Wed, 24 Jun 1992 08:25:26 +0000 (00:25 -0800)]
add code to implement short symbolic links

SCCS-vsn: sys/ufs/ffs/ufs_vnops.c 7.98
SCCS-vsn: sys/ufs/ufs/ufs_vnops.c 7.98

32 years agoadd i_shortlink name for short symbolic links
Kirk McKusick [Wed, 24 Jun 1992 08:24:36 +0000 (00:24 -0800)]
add i_shortlink name for short symbolic links

SCCS-vsn: sys/ufs/ffs/inode.h 7.28
SCCS-vsn: sys/ufs/ufs/inode.h 7.28

32 years agoadd provision for short symbolic links
Kirk McKusick [Wed, 24 Jun 1992 08:24:07 +0000 (00:24 -0800)]
add provision for short symbolic links

SCCS-vsn: sys/ufs/ffs/dinode.h 7.17
SCCS-vsn: sys/ufs/ufs/dinode.h 7.17

32 years agoadd compatibility mmap call; make MAP_FILE the default (like Sun)
Kirk McKusick [Wed, 24 Jun 1992 08:21:18 +0000 (00:21 -0800)]
add compatibility mmap call; make MAP_FILE the default (like Sun)

SCCS-vsn: sys/vm/vm_mmap.c 7.12

32 years agodon't bother to cast malloc
Keith Bostic [Wed, 24 Jun 1992 08:19:24 +0000 (00:19 -0800)]
don't bother to cast malloc

SCCS-vsn: usr.bin/tsort/tsort.c 5.6

32 years agoMAP_FILE is now the default
Kirk McKusick [Wed, 24 Jun 1992 08:13:43 +0000 (00:13 -0800)]
MAP_FILE is now the default

SCCS-vsn: sys/kern/kern_exec.c 7.61
SCCS-vsn: sys/hp300/hp300/clock.c 7.13
SCCS-vsn: sys/hp/dev/grf.c 7.12

32 years agorenumber constants to match Sun's naming and numbering scheme;
Kirk McKusick [Wed, 24 Jun 1992 08:06:48 +0000 (00:06 -0800)]
renumber constants to match Sun's naming and numbering scheme;
eliminate MAP_FILE (make it the default as Sun does)

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

32 years agolen is a size_t
Keith Bostic [Wed, 24 Jun 1992 08:01:36 +0000 (00:01 -0800)]
len is a size_t

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

32 years agoMAP_FILE disappears
Keith Bostic [Wed, 24 Jun 1992 07:54:30 +0000 (23:54 -0800)]
MAP_FILE disappears

SCCS-vsn: bin/cp/utils.c 5.4

32 years agosecond arg to mmap is a size_t, MAP_FILE disappears
Keith Bostic [Wed, 24 Jun 1992 07:51:50 +0000 (23:51 -0800)]
second arg to mmap is a size_t, MAP_FILE disappears

SCCS-vsn: lib/libc/db/recno/rec_open.c 5.4

32 years agorecno cleanups
Keith Bostic [Wed, 24 Jun 1992 07:30:36 +0000 (23:30 -0800)]
recno cleanups

SCCS-vsn: lib/libc/db/test/btree.tests/main.c 5.4

32 years agoadd compat routines for mmap and getdirentries
Kirk McKusick [Wed, 24 Jun 1992 06:34:14 +0000 (22:34 -0800)]
add compat routines for mmap and getdirentries

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

32 years agodate and time created 92/06/23 15:33:10 by mckusick
Kirk McKusick [Wed, 24 Jun 1992 06:33:10 +0000 (22:33 -0800)]
date and time created 92/06/23 15:33:10 by mckusick

SCCS-vsn: sys/kern/vfs_init.c 7.1

32 years agomy fault -- dev_t is a u_long
Keith Bostic [Wed, 24 Jun 1992 04:40:34 +0000 (20:40 -0800)]
my fault -- dev_t is a u_long

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

32 years agomake recno eof flag part of each BT struct
Keith Bostic [Wed, 24 Jun 1992 03:38:31 +0000 (19:38 -0800)]
make recno eof flag part of each BT struct

SCCS-vsn: lib/libc/db/btree/btree.h 5.7

32 years agomake eof flag part of each BT struct; test for sb.st_size larger than
Keith Bostic [Wed, 24 Jun 1992 03:37:47 +0000 (19:37 -0800)]
make eof flag part of each BT struct; test for sb.st_size larger than
the maximum int; set bt_rfp to NULL if not set, used as a flag in close

SCCS-vsn: lib/libc/db/recno/rec_open.c 5.3

32 years agoincrement necessary dsize by 1 so that we don't crash if the first
Keith Bostic [Wed, 24 Jun 1992 03:34:31 +0000 (19:34 -0800)]
increment necessary dsize by 1 so that we don't crash if the first
record retrieved is 0 length.

SCCS-vsn: lib/libc/db/recno/rec_utils.c 5.3

32 years ago__bt_push index was off-by-one
Keith Bostic [Wed, 24 Jun 1992 03:33:36 +0000 (19:33 -0800)]
__bt_push index was off-by-one

SCCS-vsn: lib/libc/db/recno/rec_search.c 5.3

32 years agomake CURSOR of recno 0 do the right thing; copy the key out, too
Keith Bostic [Wed, 24 Jun 1992 03:32:48 +0000 (19:32 -0800)]
make CURSOR of recno 0 do the right thing; copy the key out, too

SCCS-vsn: lib/libc/db/recno/rec_seq.c 5.3

32 years agomake R_IAFTER of recno 0 work
Keith Bostic [Wed, 24 Jun 1992 03:29:55 +0000 (19:29 -0800)]
make R_IAFTER of recno 0 work

SCCS-vsn: lib/libc/db/recno/rec_put.c 5.3

32 years agodecrement record count in rec_dleaf, where the delete is really done
Keith Bostic [Wed, 24 Jun 1992 03:28:52 +0000 (19:28 -0800)]
decrement record count in rec_dleaf, where the delete is really done

SCCS-vsn: lib/libc/db/recno/rec_delete.c 5.3