unix-history/.git
33 years agoadd dbx, as, cc, cpp, more
Keith Bostic [Fri, 1 Mar 1991 08:48:50 +0000 (00:48 -0800)]
add dbx, as, cc, cpp, more

SCCS-vsn: old/Makefile 5.10

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 08:46:53 +0000 (00:46 -0800)]
ANSI

SCCS-vsn: usr.bin/tftp/tftpsubs.c 5.6

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 07:45:34 +0000 (23:45 -0800)]
ANSI

SCCS-vsn: games/worm/worm.c 5.8
SCCS-vsn: games/worms/worms.c 5.9

33 years agoANSI (a real bug!)
Keith Bostic [Fri, 1 Mar 1991 07:41:43 +0000 (23:41 -0800)]
ANSI (a real bug!)

SCCS-vsn: games/trek/main.c 5.7

33 years agoANSI (a real bug!), plus make the score file work
Keith Bostic [Fri, 1 Mar 1991 07:39:25 +0000 (23:39 -0800)]
ANSI (a real bug!), plus make the score file work

SCCS-vsn: games/snake/snake/snake.c 5.10

33 years agominor fix -- this needs to just use ndbm instead
Keith Bostic [Fri, 1 Mar 1991 07:39:14 +0000 (23:39 -0800)]
minor fix -- this needs to just use ndbm instead

SCCS-vsn: games/snake/snscore/snscore.c 5.7

33 years agohave to set offset for SEEK_CUR in F_GETLK too (from scooter@gene.com)
Kirk McKusick [Fri, 1 Mar 1991 07:11:11 +0000 (23:11 -0800)]
have to set offset for SEEK_CUR in F_GETLK too (from scooter@gene.com)

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

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 07:08:10 +0000 (23:08 -0800)]
ANSI

SCCS-vsn: games/snake/snscore/snscore.c 5.6

33 years agofix up directory structure
Keith Bostic [Fri, 1 Mar 1991 07:07:27 +0000 (23:07 -0800)]
fix up directory structure

SCCS-vsn: games/snake/snake/Makefile 5.11
SCCS-vsn: games/snake/snscore/Makefile 5.2

33 years agodate and time created 91/02/28 15:04:36 by bostic
Keith Bostic [Fri, 1 Mar 1991 07:04:36 +0000 (23:04 -0800)]
date and time created 91/02/28 15:04:36 by bostic

SCCS-vsn: games/snake/Makefile 5.1

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 07:03:06 +0000 (23:03 -0800)]
ANSI

SCCS-vsn: games/larn/create.c 5.2
SCCS-vsn: games/larn/display.c 5.2
SCCS-vsn: games/larn/fortune.c 5.3
SCCS-vsn: games/larn/main.c 5.5
SCCS-vsn: games/larn/monster.c 5.2
SCCS-vsn: games/larn/moreobj.c 5.2
SCCS-vsn: games/larn/signal.c 5.2
SCCS-vsn: games/larn/store.c 5.3
SCCS-vsn: games/mille/mille.c 5.5
SCCS-vsn: games/monop/execute.c 5.5
SCCS-vsn: games/monop/getinp.c 5.4
SCCS-vsn: games/monop/misc.c 5.5
SCCS-vsn: games/morse/morse.c 5.3
SCCS-vsn: games/number/number.c 5.1
SCCS-vsn: games/pom/pom.c 5.3
SCCS-vsn: games/quiz/quiz.c 4.7
SCCS-vsn: games/rain/rain.c 5.6
SCCS-vsn: games/robots/main.c 5.5
SCCS-vsn: games/robots/move_robs.c 5.5
SCCS-vsn: games/robots/robots.h 5.6
SCCS-vsn: games/rogue/init.c 5.4
SCCS-vsn: games/rogue/machdep.c 5.7
SCCS-vsn: games/rogue/rogue.h 5.6
SCCS-vsn: games/sail/lo_main.c 5.7
SCCS-vsn: games/sail/pl_1.c 5.5
SCCS-vsn: games/sail/pl_7.c 5.7
SCCS-vsn: games/sail/pl_main.c 5.5
SCCS-vsn: games/snake/snake/move.c 5.8
SCCS-vsn: games/snake/snake/snake.c 5.9

33 years agocache open with O_CREAT when the name already exists
Kirk McKusick [Fri, 1 Mar 1991 05:23:30 +0000 (21:23 -0800)]
cache open with O_CREAT when the name already exists

SCCS-vsn: sys/kern/vfs_lookup.c 7.26
SCCS-vsn: sys/kern/vfs_cache.c 7.8
SCCS-vsn: sys/ufs/ffs/ufs_lookup.c 7.26
SCCS-vsn: sys/ufs/ufs/ufs_lookup.c 7.26

33 years agonodev => enodev; nulldev => nullop
Kirk McKusick [Fri, 1 Mar 1991 05:17:48 +0000 (21:17 -0800)]
nodev => enodev; nulldev => nullop

SCCS-vsn: sys/kern/tty_conf.c 7.5

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 05:14:11 +0000 (21:14 -0800)]
ANSI

SCCS-vsn: games/cribbage/cards.c 5.5
SCCS-vsn: games/cribbage/crib.c 5.6
SCCS-vsn: games/cribbage/instr.c 5.2
SCCS-vsn: games/cribbage/io.c 5.8
SCCS-vsn: games/cribbage/support.c 5.6
SCCS-vsn: games/hangman/hangman.h 5.5
SCCS-vsn: games/hangman/main.c 5.4

33 years agopcc (dammit!)
Keith Bostic [Fri, 1 Mar 1991 04:40:43 +0000 (20:40 -0800)]
pcc (dammit!)

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

33 years agoANSI
Keith Bostic [Fri, 1 Mar 1991 01:36:58 +0000 (17:36 -0800)]
ANSI

SCCS-vsn: games/dm/dm.c 5.16

33 years agoANSI fixes
Keith Bostic [Fri, 1 Mar 1991 00:52:25 +0000 (16:52 -0800)]
ANSI fixes

SCCS-vsn: games/canfield/canfield/canfield.c 5.11
SCCS-vsn: games/chess/uxdsp.c 5.3

33 years agoRanlib sanity check was too strict (new ar rounds up string table size).
Donn Seeley [Thu, 28 Feb 1991 14:49:03 +0000 (06:49 -0800)]
Ranlib sanity check was too strict (new ar rounds up string table size).

SCCS-vsn: usr.bin/ld/ld.c 6.4

33 years agoChanges to support the Tahoe, which has byte-aligned instructions but gets
Donn Seeley [Thu, 28 Feb 1991 14:26:41 +0000 (06:26 -0800)]
Changes to support the Tahoe, which has byte-aligned instructions but gets
data alignment traps (sigh).

SCCS-vsn: usr.bin/ld/ld.c 6.3

33 years agoA bit more work to achieve C++ compatibility.
Donn Seeley [Thu, 28 Feb 1991 10:47:31 +0000 (02:47 -0800)]
A bit more work to achieve C++ compatibility.

SCCS-vsn: include/stdio.h 5.13

33 years agonot so noisy, don't use gets, print in the right order,
Mike Karels [Thu, 28 Feb 1991 10:38:56 +0000 (02:38 -0800)]
not so noisy, don't use gets, print in the right order,
and accept \n as well as RANDOM\n for random key

SCCS-vsn: local/kerberosIV/kdb_edit/kdb_edit.c 1.2

33 years agoANSI fix, move log file into /var/games
Keith Bostic [Thu, 28 Feb 1991 09:37:21 +0000 (01:37 -0800)]
ANSI fix, move log file into /var/games

SCCS-vsn: old/boggle/boggle.c 5.5

33 years agomove boglog into /var/games
Keith Bostic [Thu, 28 Feb 1991 09:36:14 +0000 (01:36 -0800)]
move boglog into /var/games

SCCS-vsn: old/boggle/pathnames.h 5.2

33 years agoANSI
Keith Bostic [Thu, 28 Feb 1991 09:32:23 +0000 (01:32 -0800)]
ANSI

SCCS-vsn: games/battlestar/fly.c 5.5

33 years agofrom mit rcs rev 4.2
Mike Karels [Thu, 28 Feb 1991 09:32:18 +0000 (01:32 -0800)]
from mit rcs rev 4.2

SCCS-vsn: local/kerberosIV/kdb_edit/kdb_edit.c 1.1

33 years agoadd entry for HP6000/670H (aka rd670)
Kirk McKusick [Thu, 28 Feb 1991 09:30:17 +0000 (01:30 -0800)]
add entry for HP6000/670H (aka rd670)

SCCS-vsn: etc/etc.hp300/disktab 5.5

33 years agoANSI fix
Keith Bostic [Thu, 28 Feb 1991 09:25:28 +0000 (01:25 -0800)]
ANSI fix

SCCS-vsn: games/battlestar/init.c 5.5

33 years agoadd entry for HP6000/335H (aka rd335)
Kirk McKusick [Thu, 28 Feb 1991 09:24:26 +0000 (01:24 -0800)]
add entry for HP6000/335H (aka rd335)

SCCS-vsn: etc/etc.hp300/disktab 5.4

33 years agosynch up with hed.ms
Mike Karels [Thu, 28 Feb 1991 09:21:49 +0000 (01:21 -0800)]
synch up with hed.ms

SCCS-vsn: admin/admin/4.3/HEADERS 1.4

33 years agoANSI fix
Keith Bostic [Thu, 28 Feb 1991 09:21:05 +0000 (01:21 -0800)]
ANSI fix

SCCS-vsn: games/larn/fortune.c 5.2
SCCS-vsn: games/arithmetic/arithmetic.c 5.5

33 years agoANSI fixes
Keith Bostic [Thu, 28 Feb 1991 09:07:08 +0000 (01:07 -0800)]
ANSI fixes

SCCS-vsn: sbin/ping/ping.c 5.7
SCCS-vsn: sbin/reboot/reboot.c 5.11
SCCS-vsn: sbin/savecore/savecore.c 5.24
SCCS-vsn: sbin/swapon/swapon.c 5.5
SCCS-vsn: sbin/umount/umount.c 5.14
SCCS-vsn: lib/libutil/pty.c 5.2

33 years agoadd comments on layout from driver
Mike Karels [Thu, 28 Feb 1991 09:00:01 +0000 (01:00 -0800)]
add comments on layout from driver

SCCS-vsn: etc/etc.hp300/disktab 5.3

33 years agomake the open failed message a bit more standard
Keith Bostic [Thu, 28 Feb 1991 07:46:05 +0000 (23:46 -0800)]
make the open failed message a bit more standard

SCCS-vsn: usr.bin/grep/egrep/egrep.c 5.13

33 years agodate and time created 91/02/27 15:04:59 by mckusick
Kirk McKusick [Thu, 28 Feb 1991 07:04:59 +0000 (23:04 -0800)]
date and time created 91/02/27 15:04:59 by mckusick

SCCS-vsn: admin/admin/4.3Reno/letter.update 1.1

33 years agodeclare rst_telldir correctly at top and not again everywhere
Chris Torek [Wed, 27 Feb 1991 13:42:36 +0000 (05:42 -0800)]
declare rst_telldir correctly at top and not again everywhere

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

33 years agoANSI fix
Keith Bostic [Wed, 27 Feb 1991 08:06:12 +0000 (00:06 -0800)]
ANSI fix

SCCS-vsn: sbin/XNSrouted/trace.c 5.11

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 08:02:30 +0000 (00:02 -0800)]
ANSI fixes

SCCS-vsn: sbin/swapon/swapon.c 5.5

33 years agoANSI fix
Keith Bostic [Wed, 27 Feb 1991 08:01:46 +0000 (00:01 -0800)]
ANSI fix

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

33 years agoneeds compat for insque/remque
Keith Bostic [Wed, 27 Feb 1991 07:59:59 +0000 (23:59 -0800)]
needs compat for insque/remque

SCCS-vsn: sbin/routed/Makefile 5.15
SCCS-vsn: sbin/XNSrouted/Makefile 5.14

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 07:44:14 +0000 (23:44 -0800)]
ANSI fixes

SCCS-vsn: sbin/ping/ping.c 5.7
SCCS-vsn: sbin/reboot/reboot.c 5.11

33 years agodkcksum moved from C library to disklable
Keith Bostic [Wed, 27 Feb 1991 07:40:37 +0000 (23:40 -0800)]
dkcksum moved from C library to disklable

SCCS-vsn: sbin/newfs/Makefile 7.13

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 07:40:24 +0000 (23:40 -0800)]
ANSI fixes

SCCS-vsn: sbin/fsdb/fsdb.c 5.9
SCCS-vsn: sbin/reboot/halt.c 5.9
SCCS-vsn: sbin/mount/mount.c 5.44
SCCS-vsn: sbin/mountd/mountd.c 5.14
SCCS-vsn: sbin/newfs/mkfs.c 6.16

33 years agoANSI fixes (one real bug!)
Keith Bostic [Wed, 27 Feb 1991 07:31:33 +0000 (23:31 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: sbin/XNSrouted/main.c 5.11
SCCS-vsn: sbin/XNSrouted/output.c 5.8
SCCS-vsn: sbin/XNSrouted/startup.c 5.11
SCCS-vsn: sbin/XNSrouted/timer.c 5.7

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 07:29:56 +0000 (23:29 -0800)]
ANSI fixes

SCCS-vsn: sbin/XNSrouted/af.c 5.11
SCCS-vsn: sbin/XNSrouted/trace.c 5.10
SCCS-vsn: sbin/XNSrouted/defs.h 5.9

33 years agoANSI makes strings unwriteable
Keith Bostic [Wed, 27 Feb 1991 07:06:04 +0000 (23:06 -0800)]
ANSI makes strings unwriteable

SCCS-vsn: bin/ls/ls.c 5.44

33 years agoANSI fix
Keith Bostic [Wed, 27 Feb 1991 06:58:27 +0000 (22:58 -0800)]
ANSI fix

SCCS-vsn: usr.bin/yacc/main.c 5.4

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 06:57:15 +0000 (22:57 -0800)]
ANSI fixes

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

33 years agoANSI fixes (one real bug!)
Keith Bostic [Wed, 27 Feb 1991 06:53:15 +0000 (22:53 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: usr.bin/ranlib/build.c 5.2
SCCS-vsn: usr.bin/ranlib/misc.c 5.2
SCCS-vsn: usr.bin/ranlib/ranlib.c 5.6
SCCS-vsn: usr.bin/ranlib/touch.c 5.2

33 years agoANSI fixes, use strdup(3) instead of rolling your own
Keith Bostic [Wed, 27 Feb 1991 06:05:45 +0000 (22:05 -0800)]
ANSI fixes, use strdup(3) instead of rolling your own

SCCS-vsn: usr.bin/m4/eval.c 5.4
SCCS-vsn: usr.bin/m4/expr.c 5.3
SCCS-vsn: usr.bin/m4/look.c 5.3
SCCS-vsn: usr.bin/m4/main.c 5.5
SCCS-vsn: usr.bin/m4/mdef.h 5.6
SCCS-vsn: usr.bin/m4/misc.c 5.6
SCCS-vsn: usr.bin/m4/serv.c 5.3

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 05:57:53 +0000 (21:57 -0800)]
ANSI fixes

SCCS-vsn: usr.bin/indent/args.c 5.10
SCCS-vsn: usr.bin/indent/indent.c 5.16
SCCS-vsn: usr.bin/indent/indent_globs.h 5.11
SCCS-vsn: usr.bin/indent/io.c 5.15
SCCS-vsn: usr.bin/indent/lexi.c 5.16
SCCS-vsn: usr.bin/indent/parse.c 5.12
SCCS-vsn: usr.bin/indent/pr_comment.c 5.12
SCCS-vsn: old/ld/ld.c 5.18

33 years agoANSI fixes; rename the files until I learn to type
Keith Bostic [Wed, 27 Feb 1991 05:49:00 +0000 (21:49 -0800)]
ANSI fixes; rename the files until I learn to type

SCCS-vsn: usr.bin/error/filter.c 5.7
SCCS-vsn: usr.bin/error/input.c 5.5
SCCS-vsn: usr.bin/error/main.c 5.6
SCCS-vsn: usr.bin/error/pi.c 5.5
SCCS-vsn: usr.bin/error/subr.c 5.5
SCCS-vsn: usr.bin/error/touch.c 5.7

33 years agonulldev() -> nullop()
William Nesheim [Wed, 27 Feb 1991 05:47:21 +0000 (21:47 -0800)]
nulldev() -> nullop()

SCCS-vsn: sys/i386/isa/pccons.c 5.6
SCCS-vsn: sys/i386/isa/wd.c 5.10

33 years agorename the files to something approaching reasonable
Keith Bostic [Wed, 27 Feb 1991 05:44:23 +0000 (21:44 -0800)]
rename the files to something approaching reasonable

SCCS-vsn: usr.bin/error/Makefile 5.9

33 years agoANSI fixes, use strdup instead of rolling your own
Keith Bostic [Wed, 27 Feb 1991 05:42:22 +0000 (21:42 -0800)]
ANSI fixes, use strdup instead of rolling your own

SCCS-vsn: usr.bin/ctags/C.c 5.5
SCCS-vsn: usr.bin/ctags/ctags.c 5.8
SCCS-vsn: usr.bin/ctags/ctags.h 5.4
SCCS-vsn: usr.bin/ctags/fortran.c 5.5
SCCS-vsn: usr.bin/ctags/lisp.c 5.5
SCCS-vsn: usr.bin/ctags/print.c 5.4
SCCS-vsn: usr.bin/ctags/tree.c 5.5
SCCS-vsn: usr.bin/ctags/yacc.c 5.6

33 years agouse defines for file descriptors
Keith Bostic [Wed, 27 Feb 1991 04:46:19 +0000 (20:46 -0800)]
use defines for file descriptors

SCCS-vsn: libexec/getty/subr.c 5.10

33 years agomore ANSI fixes
Keith Bostic [Wed, 27 Feb 1991 04:45:13 +0000 (20:45 -0800)]
more ANSI fixes

SCCS-vsn: libexec/getty/subr.c 5.9

33 years agoANSI fixes
Keith Bostic [Wed, 27 Feb 1991 04:39:11 +0000 (20:39 -0800)]
ANSI fixes

SCCS-vsn: libexec/tftpd/tftpd.c 5.13
SCCS-vsn: libexec/uucpd/uucpd.c 5.10

33 years agogetgroups takes a pointer to int's for now
Keith Bostic [Wed, 27 Feb 1991 03:56:42 +0000 (19:56 -0800)]
getgroups takes a pointer to int's for now

SCCS-vsn: include/unistd.h 5.7

33 years agoANSI fixes (one real bug!)
Keith Bostic [Wed, 27 Feb 1991 03:50:39 +0000 (19:50 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: libexec/telnetd/sys_term.c 5.12
SCCS-vsn: libexec/telnetd/utility.c 5.6
SCCS-vsn: libexec/telnetd/slc.c 5.6

33 years agofix error string
Mike Karels [Wed, 27 Feb 1991 03:48:13 +0000 (19:48 -0800)]
fix error string

SCCS-vsn: usr.sbin/sliplogin/sliplogin.c 5.5

33 years agoANSI fixes (one real bug!)
Keith Bostic [Wed, 27 Feb 1991 03:40:17 +0000 (19:40 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: libexec/talkd/announce.c 5.9
SCCS-vsn: libexec/talkd/print.c 5.8
SCCS-vsn: libexec/talkd/process.c 5.10
SCCS-vsn: libexec/talkd/table.c 5.7
SCCS-vsn: libexec/talkd/talkd.c 5.8

33 years agodon't include system include files here
Keith Bostic [Wed, 27 Feb 1991 03:32:00 +0000 (19:32 -0800)]
don't include system include files here

SCCS-vsn: include/protocols/talkd.h 5.6

33 years agoupdate from Hibler for additional HP disks
Kirk McKusick [Tue, 26 Feb 1991 14:41:08 +0000 (06:41 -0800)]
update from Hibler for additional HP disks

SCCS-vsn: sys/hp300/dev/rd.c 7.6
SCCS-vsn: sys/hp300/dev/rdreg.h 7.3

33 years agomove locking specific code from ufs_vnops.c; fix numerous bugs
Kirk McKusick [Tue, 26 Feb 1991 14:21:15 +0000 (06:21 -0800)]
move locking specific code from ufs_vnops.c; fix numerous bugs

SCCS-vsn: sys/ufs/ffs/ufs_lockf.c 7.2
SCCS-vsn: sys/ufs/ufs/ufs_lockf.c 7.2

33 years agomove locking specific code into ufs_lockf.c; fix numerous bugs
Kirk McKusick [Tue, 26 Feb 1991 14:18:20 +0000 (06:18 -0800)]
move locking specific code into ufs_lockf.c; fix numerous bugs

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

33 years agoextra address
Keith Bostic [Tue, 26 Feb 1991 10:37:49 +0000 (02:37 -0800)]
extra address

SCCS-vsn: admin/admin/4.3Reno/ibm.copyright 5.2

33 years agoANSI fixes (one real bug!)
Keith Bostic [Tue, 26 Feb 1991 09:33:44 +0000 (01:33 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: libexec/rshd/rshd.c 5.37

33 years agothe last change broke the path stuff
Keith Bostic [Tue, 26 Feb 1991 09:27:01 +0000 (01:27 -0800)]
the last change broke the path stuff

SCCS-vsn: libexec/rexecd/rexecd.c 5.12

33 years agoANSI fixes (one real bug!)
Keith Bostic [Tue, 26 Feb 1991 09:24:28 +0000 (01:24 -0800)]
ANSI fixes (one real bug!)

SCCS-vsn: libexec/rlogind/rlogind.c 5.51

33 years agoANSI Fixes
Keith Bostic [Tue, 26 Feb 1991 09:23:54 +0000 (01:23 -0800)]
ANSI Fixes

SCCS-vsn: usr.bin/rlogin/des_rw.c 5.8

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 09:13:14 +0000 (01:13 -0800)]
ANSI fixes

SCCS-vsn: libexec/getty/subr.c 5.8
SCCS-vsn: libexec/mail.local/mail.local.c 5.4
SCCS-vsn: libexec/makekey/makekey.c 5.3
SCCS-vsn: libexec/rexecd/rexecd.c 5.11

33 years agoANSI fixes (one real bug fix!)
Keith Bostic [Tue, 26 Feb 1991 09:03:06 +0000 (01:03 -0800)]
ANSI fixes (one real bug fix!)

SCCS-vsn: libexec/getty/main.c 5.14

33 years agoANSI fixes, struct direct -> struct dirent, rename glob() -> ftpglob()
Keith Bostic [Tue, 26 Feb 1991 08:46:25 +0000 (00:46 -0800)]
ANSI fixes, struct direct -> struct dirent, rename glob() -> ftpglob()

SCCS-vsn: libexec/ftpd/ftpcmd.y 5.24
SCCS-vsn: libexec/ftpd/ftpd.c 5.39
SCCS-vsn: libexec/ftpd/logwtmp.c 5.7
SCCS-vsn: libexec/ftpd/popen.c 5.9

33 years agoANSI fixes
Keith Bostic [Tue, 26 Feb 1991 08:25:15 +0000 (00:25 -0800)]
ANSI fixes

SCCS-vsn: libexec/comsat/comsat.c 5.24

33 years agoANSI fixes (two real bug fixes!), convert to struct dirent, cleanups
Keith Bostic [Tue, 26 Feb 1991 08:23:12 +0000 (00:23 -0800)]
ANSI fixes (two real bug fixes!), convert to struct dirent, cleanups

SCCS-vsn: libexec/bugfiler/bug.h 5.10
SCCS-vsn: libexec/bugfiler/bugfiler.c 5.16
SCCS-vsn: libexec/bugfiler/error.c 5.8
SCCS-vsn: libexec/bugfiler/gethead.c 5.9
SCCS-vsn: libexec/bugfiler/process.c 5.9
SCCS-vsn: libexec/bugfiler/redist.c 5.11
SCCS-vsn: libexec/bugfiler/reply.c 5.9

33 years agoANSI fixes, yank to rev 5.1, fix the copyright notices
Keith Bostic [Tue, 26 Feb 1991 07:46:13 +0000 (23:46 -0800)]
ANSI fixes, yank to rev 5.1, fix the copyright notices

SCCS-vsn: local/kerberosIV/register/pathnames.h 5.1
SCCS-vsn: local/kerberosIV/register/register.1 5.1
SCCS-vsn: local/kerberosIV/register/register.c 5.1
SCCS-vsn: local/kerberosIV/register/register_proto.h 5.1

33 years agoNeeds -DCRYPT
Keith Bostic [Tue, 26 Feb 1991 07:46:07 +0000 (23:46 -0800)]
Needs -DCRYPT

SCCS-vsn: local/kerberosIV/register/Makefile 5.3

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