Commit Graph

942 Commits

Author SHA1 Message Date
cgd 222860a633 add kdump 1994-05-11 07:15:24 +00:00
mycroft a2d6c76c41 Clean up deleted files. 1994-05-11 07:14:31 +00:00
cgd db906e7d79 clean up import 1994-05-11 07:14:29 +00:00
cgd 1142494822 updated ktrace 1994-05-11 07:10:43 +00:00
cgd 57935c670a updated kdump 1994-05-11 07:10:27 +00:00
jtc db975c8c0a We now have sysconf() & pathconf 1994-05-10 00:04:11 +00:00
cgd 7947f77b36 get it to work with old private data allocation 1994-05-09 07:17:08 +00:00
cgd 96674b17a0 clean up import 1994-05-09 07:07:32 +00:00
glass 0b84fdb5c1 bootstrap improvements 1994-05-09 06:36:20 +00:00
cgd 5a9cb8543e clean up import 1994-05-09 03:35:55 +00:00
cgd f7329f6875 new w, to match libkvm 1994-05-09 03:32:48 +00:00
mycroft 705891fd43 020 -> IPTOS_LOWDELAY 1994-05-08 20:42:26 +00:00
jtc 353b511d05 Fix bug #241 by adding off_t cast to macro that uses ftruncate(). 1994-05-07 01:09:56 +00:00
cgd 87dc7098ba update 1994-05-05 23:24:26 +00:00
mycroft 22aad6433a Clean up deleted files. 1994-05-05 23:05:14 +00:00
cgd 6e48979283 die! 1994-05-05 23:05:09 +00:00
cgd 39059e3c25 oops 1994-05-05 22:52:36 +00:00
cgd 1dbbb3b701 new 'id' 1994-05-05 22:50:17 +00:00
cgd 06be1d72aa field name foo 1994-05-05 06:38:53 +00:00
cgd 3b59599485 kill stupidity 1994-05-05 06:35:50 +00:00
cgd 72d449e788 update for changed flags 1994-05-05 02:27:31 +00:00
cgd 25718695be update for changed flags 1994-05-05 02:04:10 +00:00
jtc c1a0df95a9 Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().
Manpage coming soon.
1994-04-27 19:50:51 +00:00
jtc 0d6a99f38a Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().
1994-04-27 19:50:34 +00:00
deraadt 907eea9f85 various off_t fixes 1994-04-24 20:19:17 +00:00
pk a52f16e93a setre[gu]id conversion. 1994-04-20 17:21:28 +00:00
deraadt 8ef0a5ca8b don't trounce on argv[1] 1994-04-17 12:31:05 +00:00
alm b1dcef2867 echo hello | ./sed 'sl[l]lxl'
historically outputs:
hexlo
1994-04-17 04:19:27 +00:00
glass 5760062851 bootstrap changes 1994-04-17 03:09:49 +00:00
andrew f94eaef2a5 Pull in TIOCGWINSZ from <sys/ioctl.h>. 1994-04-17 02:45:13 +00:00
cgd 75556c7593 fix from bostic for multiple match problem 1994-04-17 02:15:13 +00:00
mycroft 5052de79df Clean up deleted files. 1994-04-16 08:31:39 +00:00
cgd c679acd09f kill symorder 1994-04-16 08:31:24 +00:00
andrew 9eb259ab93 Added TERMIOS support. 1994-04-16 08:14:50 +00:00
cgd a13388c78e kill setreuids 1994-04-16 03:41:59 +00:00
cgd 2a83433d4e clean, exported variable (and contents) changes 1994-04-15 07:07:23 +00:00
cgd ecc12ef419 fstypes will be strings soon 1994-04-14 03:34:13 +00:00
pk b6d3849691 Don't core dump on shared objects. We need an a.out flag really.
Some misc cleanup.
1994-04-10 08:54:30 +00:00
cgd 82ed2d9b7d kill uses of gets() 1994-04-10 07:20:35 +00:00
briggs 506dde3090 Need for.o in list of objects when bootstrapping. 1994-04-09 23:35:25 +00:00
deraadt 9e884098d2 fix from <dgy@mcs.com> 1994-04-08 08:09:14 +00:00
mycroft 088a1b076b Fix stack corruption bug. 1994-04-08 05:26:49 +00:00
cgd f699598151 fix a real, live null deref 1994-04-06 17:54:35 +00:00
cgd 6d4a80e947 print quads with q 1994-04-06 17:51:04 +00:00
cgd 4d677d675c kill lseek defn's 1994-04-06 17:50:39 +00:00
cgd e104a4a2bc don't core if -b is given no argument. bug pointed out by nate williams,
fix by me.
1994-04-06 00:04:09 +00:00
cgd 6c0c0c32bd fix from Alan Coopersmith <alanc@ocf.berkeley.edu> for un-initted variable 1994-04-05 02:18:43 +00:00
cgd ea7e0c1cca kill lots of off_t's. 1994-04-01 09:18:06 +00:00
cgd f006d09efa add semicolon as suggested by Mark Weaver. 1994-04-01 08:58:45 +00:00
cgd df393d700c use full path when naming units lib. this file should be converted to
mandoc...
1994-04-01 08:49:59 +00:00
cgd f0a32f8da2 there will be no more /vmunix! from Mark Weaver. 1994-04-01 08:27:29 +00:00
cgd 09b4d0d931 delete unclear comments, from Mark Weaver. 1994-04-01 08:26:13 +00:00
mycroft 5cfca54767 Style cleanup; use err*() and atexit(). 1994-04-01 04:33:48 +00:00
cgd ca003fe926 fix tn3270's idea of where map3270 lives. From Mark Weaver. 1994-04-01 04:09:18 +00:00
cgd c53a9c6660 man page fix from Mark Weaver 1994-04-01 04:01:48 +00:00
cgd 67f7468b24 bad cast 1994-04-01 03:32:38 +00:00
cgd 86be4d6208 long cast 1994-04-01 03:29:58 +00:00
cgd 20d2c86dad lseek/long thing 1994-04-01 01:44:59 +00:00
jtc abfeba19ee Getgroup's second argument is now a gid_t ptr. 1994-04-01 01:19:08 +00:00
deraadt 6a84dc1aba off_t 1994-03-31 11:12:40 +00:00
cgd 0337c53156 fix usage, and printing of size/name for files 1994-03-30 03:08:45 +00:00
cgd 2ab4a0ae5c some changes to make Kerberos a bit easier to use. from
Michael Graff <explorer@vorpal.com>, with some work by myself...
1994-03-30 02:49:15 +00:00
cgd 68e9ccd936 screw it. #ifdef out the i386 disk-name-getting routine. 1994-03-30 01:37:04 +00:00
cgd 117a397c4b don't core when a delete comes after a number. from bostic 1994-03-30 01:31:50 +00:00
cgd 2b12186e93 kill warning/error 1994-03-28 11:17:16 +00:00
cgd 1e6c1e0ef2 clean up, for off_t... ugliest 'cleaning' possible, i think... 1994-03-28 10:29:31 +00:00
cgd e26987fe07 kill lseek def'n. the entire thing needs cleanup badly 1994-03-28 09:19:18 +00:00
cgd ef1fafa7b4 another lseek extern! 1994-03-28 07:26:41 +00:00
cgd 9e9d953286 kill typo 1994-03-28 07:11:18 +00:00
cgd 0e8fd740e8 nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:31:54 +00:00
mycroft 74a26e6971 Clean up deleted files. 1994-03-28 04:31:51 +00:00
cgd 33f08a621d nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:28:20 +00:00
mycroft c2ede54b78 Clean up deleted files. 1994-03-28 04:28:17 +00:00
cgd 47635e2574 nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:28:14 +00:00
mycroft ade656b93b Clean up deleted files. 1994-03-28 04:28:08 +00:00
cgd 57fe5d2894 nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:27:20 +00:00
cgd 6f5fcc76ef nvi/nex 1.11beta from bostic. 1994-03-28 02:52:06 +00:00
cgd ceacf6a332 off_t foo, and MAP_FILE 1994-03-28 02:22:29 +00:00
cgd 78fdfb6fd9 no more MAP_FILE 1994-03-28 02:17:50 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
cgd b47c1a949c kill some now-unnecessary casts. 1994-03-27 22:07:31 +00:00
cgd 2ef3f89f23 i386: completely punt on getting disk names until charles is done
config hacking.  better to punt than to do something really abnormal.
1994-03-27 12:26:33 +00:00
cgd ab97926575 off_t foo 1994-03-27 10:05:14 +00:00
cgd d85e4acf72 off_t exp. 1994-03-27 09:26:59 +00:00
cgd 1ba43f6177 off_t exp. 1994-03-27 09:08:58 +00:00
cgd 0fa009a916 off_t exp. 1994-03-27 09:01:41 +00:00
glass 5bee302b77 moved useful contents of netiso/tp_astring.c down 1994-03-26 04:08:45 +00:00
mycroft adf20f8c80 Fix bug in handling short reads. 1994-03-25 17:07:02 +00:00
mycroft f8e2732fe8 Fix bug with D leaving junk at end of pattern space. 1994-03-24 15:55:01 +00:00
cgd 1feda9dc52 use stdio rather than stupid, ill-conceived buffering hack. 1994-03-23 04:37:40 +00:00
cgd a28a03c947 kill perverse syntax 1994-03-23 01:32:50 +00:00
jtc aa67092685 Fixes from Christos Zoulas:
The following two patches fix a couple of problems with make(1)

1. Null Suffixes were not being copied, but they were being free'd
   This caused rules of the form:

   .c:
	${CC} ...

   to access invalid memory and potentially core dump..
   [That was always broken; I did not break that one :-)]

2. My recent fixes to parse ${VAR:%.foo=%.bar} handled the null string
   case incorrectly (${VAR:=.c} was broken).
1994-03-23 00:52:13 +00:00
glass 01b5cbdeb0 i saw, i puked, i rewrote using getopt(), and err(3) 1994-03-21 15:46:43 +00:00
cgd d609255ac3 get section right; Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:06:28 +00:00
cgd 9d26d3af36 get section right; from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:04:16 +00:00
cgd 996d1050eb don't assume that only valid thing starting with 'l' is longname.
Fix from Eric J. Haug <ejh@slueas.slu.edu>
1994-03-19 07:42:18 +00:00
deraadt 75e174b39c hosts alias is different than in ypcat 1994-03-18 18:07:10 +00:00
pk 15b943d427 Do extended-name archives. 1994-03-18 11:32:09 +00:00
cgd 7b3c4a81f6 fix from Keith White <kwhite@csi.UOttawa.CA>, to DTRT when man -w's output
is redirected.
1994-03-18 00:46:49 +00:00
cgd ff01ffc7d8 don't clobber CLOCAL. gah, that could be fun: log in on a line that
needs clocal, use 'reset' to fix your screen after a raw mode muckup,
and there goes your clocal...
1994-03-13 14:29:34 +00:00
cgd 377bda3e78 cast so size/mtime doesn't get hosed 1994-03-13 13:33:28 +00:00
cgd 4198f66135 fix to work with new config. SCSI device name support is totally hosed. 1994-03-13 03:38:30 +00:00
cgd b12240b65d fix for bin/159 from bostic. 1994-03-09 00:45:14 +00:00
cgd 4adebd1261 #if <arch_name> -> #ifdef <arch_name>, per suggestion by phil. 1994-03-09 00:40:39 +00:00
phil ea1ef81d0a Adding the ns32k support. Currently just a copy of the i386 files. 1994-03-09 00:25:14 +00:00
cgd 8c2c34be83 one fix from Javier Martin Rueda <jmrueda@diatel.upm.es>, and one
from me.
1994-03-08 23:49:19 +00:00
cgd 3cb7f8e872 kill some warnings, from Christos. 1994-03-07 22:22:01 +00:00
cgd 5dbdc683e6 feedback on the last, from sklower 1994-03-07 09:19:56 +00:00
cgd 1675d43043 from John F. Woods <jfw@ksr.com>:
don't crap out if -w specified and not in multi-column mode.
my reading of my draft of P.2 indicates that this is allowed, just
ignored...
1994-03-07 05:42:17 +00:00
cgd 035fd3978c re-fix spelling errors. going to kick them back to bostic... 1994-03-07 05:07:19 +00:00
cgd a5bfdf7812 update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
1994-03-07 05:05:16 +00:00
cgd a317cb02e3 print netmask properly 1994-03-06 09:45:24 +00:00
cgd ac105d61e4 fix for bin/155: Mail appended to mbox is preceded by NULs.
From: Arne H}strek Juul <arnej@dsl.unit.no>
1994-03-06 03:03:21 +00:00
jtc 6b1913fcc9 Apply fix that was lost when Christos Zoulas' changes were integrated:
Shell commands start with tabs, not whitespace.  Pmake's
  POSIX behavior must have been derrived from an early draft.
1994-03-05 01:58:23 +00:00
mycroft f4d252cff0 Clean up deleted files. 1994-03-05 00:35:58 +00:00
cgd 298fa8e587 fixes/improvements from Christos Zoulas <christos@deshaw.com>. 1994-03-05 00:35:26 +00:00
mycroft ea40a9138d Clean up deleted files. 1994-03-05 00:35:19 +00:00
cgd 3db59563ee fixes/improvements from Christos Zoulas <christos@deshaw.com>. 1994-03-05 00:34:29 +00:00
mycroft c1c5482f3f Do the right thing if the pattern has an escaped escape character followed
immediately by a delimiter.
1994-03-03 23:26:31 +00:00
deraadt 2a6abdae04 netname() takes a struct in_addr, not an int. Breaks on sparc.
fix from Chuck Cranor <chuck@maria.wustl.edu>
1994-03-03 22:03:33 +00:00
pk a5d3e918bd Fixes from <thomas@mathematik.uni-Bremen.de> + some minor cleanup:
> re-initialize for before processing each archive.
> release memory.
> get temp file creation right.
1994-03-03 10:20:06 +00:00
cgd 8a2551e497 fix to misc/130, from Christos Zoulas <christos@deshaw.com>. don't do
stuff to the controlling tty if we don't have one!
1994-03-02 01:54:04 +00:00
deraadt 550d3ccb93 fix for file descriptor leak from Robert Crowe <bob@speakez.com> 1994-03-01 11:37:49 +00:00
cgd 6cc95e4fee DTRT with empty RE matches. or at least, do something better. fix off
to bostic and dspin.
1994-03-01 06:32:54 +00:00
andrew 14f1242b37 Restore the traditional behaviour of the "n" command. 1994-02-28 07:00:00 +00:00
cgd 39cfbff074 complete fix for the 'reset' problems, based on patch sent by
vdlinden@fwi.uva.nl (Frank van der Linden).
1994-02-27 03:41:30 +00:00
cgd d9e3a8d482 oops 1994-02-25 06:56:57 +00:00
cgd 428c2449a9 install sgid kmem 1994-02-25 06:55:39 +00:00
cgd f728b8e770 move include file to where it belongs 1994-02-25 03:40:25 +00:00
mycroft 11f187b6a3 Clean up deleted files. 1994-02-25 03:40:12 +00:00
cgd 0582c91393 new telnet from ftp.cray.com. Encryption support ripped out, pending
figuring out what to do about it...
1994-02-25 03:00:16 +00:00
cgd 817b0f26ba first crack at a man page. 1994-02-24 02:17:06 +00:00
cgd 749dc802ca fix "bin/135: calendar bug", and another bug found while looking into it.
the reported bug was fixed with the reported fix, from Keith White
<kwhite@csi.UOttawa.CA>.  The newly-found bug was fixed by me.
1994-02-22 09:46:29 +00:00
cgd f087cc1d05 fix to print netstat unit number right; from Greenman 1994-02-22 04:19:37 +00:00
mycroft 1f7a831709 Everyone uses GCC now. 1994-02-21 18:18:35 +00:00
mycroft fbe0094cc7 Same .o fix as mkdep.gcc.sh; not currently relevant as we use GCC. 1994-02-21 18:17:17 +00:00
pk 1a674dfd60 Check for reasonable syslog pid before HUPing.
Replace arbitrary constant by MAXPATHLEN.
1994-02-20 09:54:45 +00:00
cgd bc7a7b9726 clean up, include, strictness, chmod mode, and don't forget a chmod 1994-02-19 09:11:33 +00:00
cgd 4e9e469010 kill BINDIR stuff 1994-02-18 03:09:58 +00:00
cgd 8d28d31cc5 break out yp stuff 1994-02-18 03:09:10 +00:00
andrew ec255a65c8 -nouser and -nogroup tests were negated. 1994-02-16 03:59:52 +00:00
pk dca1fff974 Sparc uses gcc too... 1994-02-15 17:09:31 +00:00
cgd 0563f20cc0 after -> before 1994-02-14 19:07:33 +00:00
cgd 10a0484ffc don't include match() if REGEX defined. pointed out by
slager@kidd.vet.purdue.edu.
1994-02-14 08:58:22 +00:00
cgd e8d19a7a32 fix bin/120: "su -" buglet when empty "shell" field in passwd 1994-02-12 07:06:07 +00:00
jtc f4db87c6e4 Fix typos & spelling errors 1994-02-10 18:24:46 +00:00
mycroft cb9f7b955c Make sure we don't touch a file that is already stripped. 1994-02-10 16:48:56 +00:00
cgd c440ffb67d kill bogus install -d's, and clean slightly 1994-02-10 01:54:10 +00:00
deraadt c5a096fcf1 do not -DKERNEL please 1994-02-09 15:00:32 +00:00
cgd 68e8ab5797 provisional fix to understand 57.6k and 115.2k 1994-02-09 07:06:11 +00:00
cgd 054d17fafb patch from Diomidis Spinellis to fix 'infinite' loop 1994-02-09 00:06:07 +00:00
cgd ecb9421ced compatibility fixes suggested by Luke Mewburn <lm@rmit.edu.au> 1994-02-07 07:00:26 +00:00
cgd e66d2ec65d fix from Matthieu Herrb <matthieu@laas.fr> to do multiple arguments. 1994-02-06 05:27:40 +00:00
pk 7080a02c57 clnt_call requires timeval argument 1994-02-05 14:58:14 +00:00
cgd 65b04c1f17 from: Christoph Robitschko <chmr@edvz.tu-graz.ac.at>
>fixed segmentation fault when connecting to nowhere.
>Also changed all gets() to fgets().
1994-02-05 00:25:55 +00:00
mycroft bf5ef648f7 Pass the correct # of args to command(), so we don't core dump later. 1994-02-04 20:11:13 +00:00
mycroft 6472543c6b Clean up deleted files. 1994-02-04 19:15:40 +00:00
jtc d111379d91 The Lex library is now built from ~/lib/libl by pulling the appropriate
sources from ~/usr.bin/lex.  This will allow us to start "importing"
future flex releases.
1994-02-04 19:15:27 +00:00
jtc dd42b1f9c6 spelling error 1994-02-04 18:04:55 +00:00
jtc d92e02c078 Create links from libl.a & libl_p.a to libfl.a & libfl_p.a.
Programs configured with GNU autoconf notice flex, and assume that
executables should be linked with the -lfl library.
1994-02-04 18:01:37 +00:00
cgd cdf91415a0 use err*() and warn() 1994-02-04 07:18:27 +00:00
cgd 30ac3de0e9 update with latest, from christos@deshaw.com 1994-02-04 07:02:09 +00:00
cgd 8a8b69552f RCS id's 1994-02-03 23:44:40 +00:00
cgd c9f13cff75 update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr> 1994-02-03 23:32:35 +00:00
mycroft 9be21c6baa Clean up deleted files. 1994-02-03 23:32:29 +00:00
cgd 5beaa48900 update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr> 1994-02-03 23:32:10 +00:00
jtc 41954280cb spelling mistakes 1994-02-03 17:47:18 +00:00
jtc 281c9594a0 vmunix -> netbsd 1994-02-03 17:41:21 +00:00
jtc 5d5d116e4a Simplify conversion of "quoted" numeric arguments. 1994-02-03 01:10:49 +00:00
jtc 14f244e88f Code to check if conversion (by strtol(), strtoul(), or strtod()) was
identical, so I moved it into its own function.
1994-02-03 00:35:18 +00:00
jtc 3c10d8e071 Add and use getulong() to handle %u, %o, %x & %X formatting directives.
It was using getlong(), which caused values larger than LONG_MAX to be
truncated to LONG_MAX.
As recommended by 1003.2, print warning messages when argument cannot be
converted to value or is out of range.
1994-02-03 00:16:11 +00:00
pk 54991d7c27 Adapt to changed <sys/ptrace.h> 1994-02-02 19:52:46 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
jtc 42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
cgd 851f7cd38e get rid of getloadavg() linking hack 1994-01-28 18:12:27 +00:00
mycroft e68052d064 No more sccs. 1994-01-28 01:09:58 +00:00
mycroft 28feb15c09 Clean up deleted files. 1994-01-28 01:09:15 +00:00
cgd 542fa2fb04 hack to make getloadavg() link properly 1994-01-28 00:49:46 +00:00
cgd da1d84230b needs -lkvm, not -lutil 1994-01-28 00:48:33 +00:00
cgd 8a871addee don't need -lutil 1994-01-28 00:46:39 +00:00
cgd e801ed50b5 needs -lkvm, not -lutil 1994-01-28 00:45:44 +00:00
cgd 5123f7879d don't need -lutil 1994-01-28 00:36:28 +00:00
cgd fa206f9eb6 get rid of local err(); convert to err() and warn() as appropriate 1994-01-27 20:32:37 +00:00
jtc 0b5acf9881 Completely new implementation, by me.
Original version by Jeff Comstock did not have a copyright notice, nor did
it release the code into the public domain.
1994-01-27 18:00:06 +00:00
jtc e23a19d38b Rewrite to eliminate "UNIX" from manpage. 1994-01-27 17:57:48 +00:00
cgd 6ea371cbd3 new definition of getbsize 1994-01-25 20:25:08 +00:00
deraadt 0479ea62bc use the value of $MAIL (if set) as the default mailbox (like SunOS)
from christos@deshaw.com (Christos Zoulas)
1994-01-25 08:43:38 +00:00
cgd 20469574af make sure strings are null-terminated, from christos@deshaw.com 1994-01-25 00:49:35 +00:00
cgd 0bdc4d8746 man page update from christos 1994-01-25 00:43:07 +00:00
cgd 03cf464d00 DTRT with termcap string arguments. from Christos-Zoulas@deshaw.com.
needs man page update.
1994-01-24 23:54:57 +00:00
mycroft d92205fa7f Clean up deleted files. 1994-01-24 23:17:10 +00:00
cgd ed214f33de UNREF(ref) 1994-01-24 23:16:11 +00:00
jtc 35104de52f Changed order of the subexpressions in a conditional to guard against
the case of zero length arguments.
1994-01-24 23:08:15 +00:00
cgd 335cfa780f a core is a bad thing to drop; check NULL 1994-01-24 22:03:04 +00:00
cgd 4c580b5582 clean up a few warnings 1994-01-24 07:12:26 +00:00
cgd 311c0b9be3 build as nvi, install as vi, view, and ex 1994-01-24 07:09:12 +00:00
cgd 817a1c7ab8 more Ids than you'll ever want. 1994-01-24 06:38:43 +00:00
cgd 390b9bce40 all hail the risen vi 1994-01-24 06:01:02 +00:00
mycroft 2b9550b580 Clean up deleted files. 1994-01-24 05:56:05 +00:00
cgd c7f69ec3a1 ELVIS IS DEAD, DAMNIT! 1994-01-24 05:55:45 +00:00