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
cgd
4bf6a716c1
nvi 1.03, from ftp.cs.berkeley.edu, per keith bostic's permission.
1994-01-24 05:52:58 +00:00
cgd
d0ffbae00c
mixing setreuid and seteuid can really screw you, in terms of security
1994-01-23 06:31:35 +00:00
cgd
90ea102113
patch from Roland McGrath <roland@frob.com> to get invoked 'make's correct
1994-01-22 01:52:56 +00:00
jtc
0760ea89b4
Flush stdout and stderr before processing an -exec (or -ok), so the output
...
of the exec'd command and find's output will be correctly interspersed.
(Bug noticed by Terry Lambert, of FreeBSD. Fix by me).
1994-01-21 02:59:38 +00:00
jtc
8f9bfdc56a
Generated files were placed in the same directory as the source file
...
(instead of the current working directory) and #include directives
contained the path of the source file.
1994-01-20 18:21:56 +00:00
jtc
837601413b
Don't compile with compat.c, since our C library allready has all the
...
functions it provides.
1994-01-20 02:56:55 +00:00
mycroft
591ec2bf77
Clean up deleted files.
1994-01-17 17:10:59 +00:00
mycroft
540438e596
Ignore multiple \r's.
1994-01-14 03:50:50 +00:00
jtc
60b9b558b1
Fix spelling and formatting errors
1994-01-14 02:19:09 +00:00
deraadt
90880753b2
correct pathnames
1994-01-14 00:50:17 +00:00
deraadt
e538061ae1
few minor things, one pointed out by <kuku@acds.physik.rwth-aachen.de>
1994-01-13 23:42:28 +00:00
jtc
e890eb6415
Include appropriate header files to bring prototypes into scope.
1994-01-13 21:01:40 +00:00
cgd
e11feae6b8
add missing arg to setenv(). reported by downsj@csos.orst.edu
1994-01-13 17:18:30 +00:00
cgd
c40eae0000
note fact that 'cron' moved
1994-01-12 19:29:31 +00:00
mycroft
d30fa11d9d
Clean up deleted files.
1994-01-12 18:12:43 +00:00
mycroft
231463b415
Don't print an extra character after a Unix domain socket name.
1994-01-11 23:27:10 +00:00
brezak
4b860495c5
Incorporate changes for IP mcast and IGMP from cmaeda@cs.washington.edu.
1994-01-11 19:42:48 +00:00
jtc
70a4f3c1c1
Fix spelling errors.
1994-01-11 18:49:16 +00:00
jtc
4f5c7cccc2
Fix spelling errors.
1994-01-11 18:36:16 +00:00
jtc
2c7d5d92c9
Fix spelling errors.
1994-01-11 18:22:48 +00:00
jtc
7e06b2a1e2
Fix spelling errors.
1994-01-11 02:21:43 +00:00
jtc
e04c8e0705
Fix spelling errors.
1994-01-11 02:10:48 +00:00
deraadt
3416ce4d72
make bpf's BIO* ioctl's print nicely. from <Havard.Eidnes@runit.sintef.no>
1994-01-09 17:42:17 +00:00
mycroft
66b967af30
Patches from Alan Batie <batie@agora.rain.com> and mte@hpy.fi to make
...
msgs(1) work, add a `-r' option for restricted operation, and use $PAGER.
1994-01-07 16:22:15 +00:00
mycroft
179f4cbf14
Fix bizarre handling of cleanenv, and set the subshells argv[0] according
...
to standard practice. Changes from Alan Batie, David Greenman, and myself.
1994-01-07 16:05:42 +00:00
mycroft
2f6c95dad5
Fix typo.
1994-01-07 14:46:15 +00:00
deraadt
fc3bd9d7b3
change -I/sys to it's correct form. reported by <G.Michaelson@cc.uq.oz.au>
1994-01-07 12:35:30 +00:00
jtc
1fd6c0e435
These files are no longer used by flex 2.4.6.
1994-01-07 00:02:14 +00:00
jtc
7340d816d0
Upgrade to version 2.4.6
1994-01-06 23:58:18 +00:00
jtc
5466e141b0
Upgrade to version 2.4.6
1994-01-06 23:58:11 +00:00
jtc
201bc757f6
st_blocks & st_size aren't quads (at least not yet).
1994-01-06 23:13:13 +00:00
cgd
aa8f4ca3f3
add berkeley pr
1994-01-06 15:57:25 +00:00
cgd
c4b27fe2cd
add berkeley pr
1994-01-06 15:57:10 +00:00
jtc
d6afb2d353
Hack to get both crontab.1 and crontab.5 manpages installed without having
...
to rename either file (before crontab.5 was renamed crontab.5.5).
1994-01-05 21:57:48 +00:00
mycroft
525fbd9129
Clean up deleted files.
1994-01-05 21:04:38 +00:00
jtc
f8caf41af1
Update for Vixie Cron 3.0
1994-01-05 21:03:46 +00:00
mycroft
a142b7ef96
Remove the trailing zero hack. It cannot be made to work correctly without
...
changing the loader.
1994-01-05 19:02:09 +00:00
cgd
156269bbe4
off-by-one fix, from fen@netcom.com (Fen Labalme, and more (from me)
1994-01-05 13:13:00 +00:00
deraadt
1f827d4b07
rationalize & cleanup -y/-k/-l code
...
update man page for -y
yp password setting now works again!
relax passwd setting retry code a teeny bit
1994-01-05 11:20:34 +00:00
cgd
f45b975fa5
rename fgetline()
1994-01-04 05:36:22 +00:00
cgd
02254e0c37
rename fgetline() and sharpen axe for bostic...
1994-01-04 05:16:44 +00:00
mycroft
261021fdec
Make sure VMIN and VTIME are set to sane values.
1994-01-04 02:41:08 +00:00
jtc
8e39f05b17
Allow user to override the temporary directory with the TMPDIR env variable.
...
(Derived from a FreeBSD patch by Ed Hudson).
1994-01-03 19:14:18 +00:00
cgd
a6b0e27a3a
get the expire and change dates right if they're after 1/1/2000
1994-01-03 08:21:14 +00:00
andrew
cfe33803b1
Fixed problems with wc -c when reading from stdin.
1994-01-03 03:11:06 +00:00
jtc
b148ed66e2
Localization changes.
...
Updated to use standard error message routines.
1993-12-31 19:34:53 +00:00
jtc
e939834745
Localization changes.
1993-12-31 19:33:53 +00:00
jtc
b5cb7536b3
Localization changes + minor bug fix.
1993-12-31 19:33:02 +00:00
jtc
9aa0df82a8
Updated to use "standard" error message routines.
1993-12-31 19:31:52 +00:00
jtc
03c47e6827
#include <stdlib.h> to bring function prototypes into scope.
1993-12-31 19:28:15 +00:00
jtc
1c22cd3b4f
Provide local function declaration.
1993-12-31 19:27:18 +00:00
jtc
78d7367603
Provide prototypes in static function declarations.
1993-12-31 19:26:21 +00:00
jtc
105b403a51
Minor tweaks.
...
The most significant problem of not being able to handle text files with
infinately long lines (required by POSIX.2) has not been addressed.
1993-12-31 19:24:42 +00:00
jtc
e63929d7f5
Handle format strings error correctly.
1993-12-31 01:46:16 +00:00
jtc
3dfa59ec4a
Merged our bugfixes with the 4.4BSD find from uunet.
1993-12-30 21:15:18 +00:00
jtc
4ffe868003
Remove special case for root-level symlinks.
1993-12-30 20:09:51 +00:00
jtc
5b6c771aeb
Update the list of primaries that are extensions of POSIX.2.
1993-12-29 22:22:44 +00:00
jtc
7c609895ee
Changed to conform to POSIX.2, 4.24.4: the first argument that starts with
...
a -, or is a ! or a (, and all subsequent arguments shall be interpreted
as an expression ...
The behavior before this change can cause a non-option (eg -owner instead
of -user) to be interpreted as a file name. Depending on the expression
used, this could cause serious damage:
find . -owner jtc -exec rm \{\} \;
Will delete every file.
1993-12-29 22:00:13 +00:00
davidb
3a435f99f9
Changed to use make's new .OBJDIR
1993-12-28 10:59:05 +00:00
deraadt
8b5553a3e7
fix previous security patch
1993-12-25 02:54:36 +00:00
jtc
550dfe1aa0
Be a bit paranoid... This will prevent core dumps when a user gives us
...
complete garbage as input.
1993-12-23 20:13:15 +00:00
cgd
76553b5de8
update for fgetline
1993-12-22 07:38:51 +00:00
cgd
a60129f588
update for fgetline
1993-12-22 07:23:27 +00:00