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
cgd
34284b5274
kill a bit of redudancy
1993-12-22 07:11:45 +00:00
cgd
cdfde1778e
kill that hack
1993-12-22 07:11:20 +00:00
cgd
87815db712
update for fgetline
1993-12-22 07:10:50 +00:00
cgd
8a3e18b590
punt on newsyslog.conf.5 -- it wasn't appropriate. if somebody writes it... 8-)
1993-12-22 04:38:45 +00:00
cgd
14fc658d66
fix from James Jegers <jimj@miller.cs.uwm.edu>. Netstat -w didn't work
...
(and would seg fault, too). solution: tell getopt to expect an argument,
and set the appropriate flags when -w is given.
1993-12-22 04:00:31 +00:00
pk
f0e170dc10
Introduced ${.OBJDIR}. The variable is similar to .CURDIR but points at
...
the directory where make builds the targets. It can be used to clean up
those cumbersome Makefiles that have to guess at the "obj" directory.
1993-12-22 00:25:57 +00:00
davidb
473e509469
Removed assumption of obj/ directories.
...
Now checks for obj and obj.$MACHINE
1993-12-21 22:16:33 +00:00
jtc
daa1856881
Clean up generated parser so Lint and Gcc -Wall are happy.
...
Fix from Thorsten Lockert.
1993-12-21 18:45:32 +00:00
mycroft
9303f3696c
Clean up deleted files.
1993-12-21 03:29:48 +00:00
cgd
c41f6971c4
#ifdef out a changed interface, for now
1993-12-21 03:05:59 +00:00
cgd
b7b446dbbb
fix slight docbug
1993-12-21 03:05:17 +00:00
cgd
091f0a7a58
add man(1) ; part of new man(1) package from Bostic
1993-12-21 02:59:25 +00:00
mycroft
8f7d2929f8
Clean up deleted files.
1993-12-21 02:58:07 +00:00
cgd
4b370535ab
add whatis(1); part of new man(1) package from Bostic
1993-12-21 02:56:54 +00:00
cgd
44aa388738
add apropos(1); part of new man(1) package from Bostic
1993-12-21 02:56:27 +00:00
cgd
91c4fffe1f
add apropos and whatis
1993-12-21 02:54:58 +00:00
cgd
0e3d3e345e
plug security hole in "crontab -r".
...
fix from Todd C. Miller <millert@cs.Colorado.EDU>
1993-12-18 02:42:17 +00:00
jtc
5a178ffc9b
POSIX.2 added the -S flag (opposite of -k). It was allready there,
...
just #ifdef'ed out.
1993-12-17 23:55:57 +00:00
jtc
d253881943
Fix bug #47 . Shell commands start with tabs, not whitespace. Pmake's
...
POSIX behavior must have been derrived from an early draft.
1993-12-17 23:52:04 +00:00
pk
a6aa50489e
Add fflush(stdout) to get output in a intuitive order.
1993-12-16 08:33:36 +00:00
jtc
77e8bced10
Fix bug (PR #42 ) with -j flag. Doesn't seem to do anything, but at
...
least it doesn't dump core anymore.
1993-12-15 18:26:40 +00:00
jtc
86546a593f
Lost its RCS Id.
1993-12-14 19:49:06 +00:00
jtc
ae2b6ea2c2
Compile with -DPOSIX --- enables reasonable behavior for MAKE and
...
MAKEFLAGS variables.
1993-12-14 18:27:15 +00:00
jtc
c713bc64aa
Upgrade to version 2.4.5.
1993-12-14 02:09:50 +00:00
cgd
10000de89e
lex is in here now
1993-12-12 00:38:58 +00:00
mycroft
64e5841061
N_RELOFF --> N_TRELOFF
1993-12-11 03:53:23 +00:00
jtc
c1e339da11
Must use a struct timeval, not NULL, for the timeout in clnt_call.
1993-12-10 19:33:58 +00:00
jtc
2a45581848
Must use a struct timeval, not NULL, for the timeout in clnt_call.
...
Include appropriate header files to bring prototypes into scope.
Enlarge buffer used for tempfile name -- were trying to stuff ~20
chars into a 15 char buffer.
1993-12-10 19:24:39 +00:00
jtc
fe6e50dbb6
Implemented sorting options found in Sun's rup.
1993-12-09 23:58:02 +00:00
jtc
ba416b30ee
Fix formatting bug.
1993-12-09 19:16:15 +00:00
jtc
0bac3c4487
Upgrade to version 2.4.4.
1993-12-09 19:06:03 +00:00
cgd
fcea20f055
fix from piero@strider.st.dsi.unimi.it (Piero Serini) to get
...
"id <login>" to dtrt with primary group name.
1993-12-09 10:28:26 +00:00
pk
efa4a5a7aa
*** empty log message ***
1993-12-08 10:16:08 +00:00
jtc
f39d0cfe88
Update to use <dirent.h>.
1993-12-08 00:37:37 +00:00
jtc
59211e3229
Updated to use <dirent.h>.
1993-12-08 00:33:06 +00:00
mycroft
305fdd943a
Eliminate a compiler warning.
1993-12-07 17:46:56 +00:00
mycroft
3071125013
Eliminate a compiler warning.
1993-12-07 10:30:52 +00:00
mycroft
bac7acfdfb
Eliminate some compiler warnings.
1993-12-07 10:27:05 +00:00
mycroft
f82cb5b5b6
Eliminate a compiler warning.
1993-12-07 10:22:06 +00:00
jtc
1ec64166fe
Upgrade to Flex version 2.4.3.
1993-12-06 19:29:01 +00:00
jtc
e3597376a1
Update for flex 2.4.3.
1993-12-06 19:26:01 +00:00
cgd
54d20849c8
get rid of bad #ifndef
1993-12-06 09:29:36 +00:00
cgd
aacc00e1f9
get rid of __386BSD__ and replace as appropriate with __NetBSD__ and i386
1993-12-06 09:21:56 +00:00
mycroft
1caea71e09
Clean up deleted files.
1993-12-06 05:28:45 +00:00
cgd
ba0b79a100
update for MACHINE_ARCH
1993-12-06 05:28:34 +00:00
cgd
2f30f0fdf0
two fixes from thomas@mathematik.uni-Bremen.de (bug bin/37):
...
create the lock file with a non-random mode
make sure the lock struct is properly initialized.
1993-12-06 04:10:42 +00:00
mycroft
09dc5c690d
Further patch by Havard Eidnes <Havard.Eidnes@runit.sintef.no> to avoid access
...
to uninitialized memory.
1993-12-05 21:43:57 +00:00
cgd
940867e342
add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de
1993-12-05 11:34:40 +00:00
cgd
edcba29bc8
add MACHINE_ARCH
1993-12-04 02:12:34 +00:00
jtc
46d81d5d45
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 02:11:23 +00:00
jtc
a3881ff7a8
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 01:49:05 +00:00
jtc
0ff865f224
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 01:08:35 +00:00
deraadt
27e94f1e34
fill hostname:tty field in same way as SunOS
1993-12-03 23:39:15 +00:00
deraadt
28b31be6fa
put -t in the usage line
1993-12-03 23:34:10 +00:00
jtc
5f2d1e881c
Since we're not installing a shared library, don't compile PIC objects.
1993-12-03 19:01:24 +00:00
deraadt
feb763311e
i love ansi
1993-12-03 10:37:14 +00:00
mycroft
f6b073c4ee
Patch from Frank van der Linden <vdlinden@fwi.uva.nl> to handle 57600 and
...
115200 baud. Baud rate checking code disabled completely when using termios.
1993-12-02 22:58:58 +00:00
mycroft
10d825f2df
Frank van der Linden <vdlinden@fwi.uva.nl> reported that tset could not handle
...
baud rates of 57600 and 115200. Just eliminate the explicit baud rate checking
altogether and use atoi().
1993-12-02 22:42:50 +00:00
mycroft
0eb7e4d17a
Patch from Frank van der Linden <vdlinden@fwi.uva.nl> to deal with 57600 and
...
115200 baud. I disabled it altogether unless OLD_TTY is defined, since we
don't need to deal with quantum baud rates.
1993-12-02 22:34:42 +00:00
pk
10e08ca597
#include <sys/types.h> (needed for future <sys/resource.h>)
1993-12-02 19:58:29 +00:00
pk
8ba2ec6a06
Include <sys/types.h> (needed in future because of <sys/resource.h>)
1993-12-02 19:52:01 +00:00
jtc
5bf99b7657
Upgraded to Flex 2.4.2.
1993-12-02 19:17:24 +00:00
jtc
e00306a5bb
Lex library for Flex 2.4.2.
1993-12-02 19:14:27 +00:00
pk
43bfc12541
Another dummy call graph module.
1993-12-02 19:12:21 +00:00
jtc
004d3ba93e
First pass at documenting YP clients.
1993-12-02 18:37:54 +00:00
mycroft
a284fbc30e
Remove ${DESTDIR} from BINDIR.
1993-12-02 07:21:19 +00:00
mycroft
23cbd7cc0b
Oops. Fix typo.
1993-12-02 04:30:47 +00:00
mycroft
7888a80f6c
Make sure we check the tty `secure' status even if root has no password.
...
Suggested by Havard Eidnes <Havard.Eidnes@runit.sintef.no>, but reimplemented
due to bugs in his patch.
Also, don't display `root login refused ...' if the password was mistyped.
1993-12-02 04:24:05 +00:00
mycroft
84f6895ad3
As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don't
...
flag a short read on the 2nd file as an EOF when it isn't. This implementation
differs in that at most one read is done per file per comparison, so that an
early mismatch may avoid hanging on input or continuing some expensive process
if reading from a pipe.
1993-12-02 01:56:04 +00:00
cgd
fedc5faddb
fix from Frank van der Linden <vdlinden@fwi.uva.nl> to DTRT when given a
...
filename on the command line.
1993-12-01 22:31:06 +00:00
pk
1f4ccfa0cd
Recognise AR_EFMT1 format.
1993-12-01 08:56:58 +00:00
cgd
f788e05de2
from Jarle.F.Greipsland@idt.unit.no:
...
find_cycle was trying to find the longest cycle that a given node is part of,
which is a really, really hard problem (exponential?). instead, just detect
cycles. since the only difference is the (std error) output which is printed,
all works out OK.
1993-12-01 05:34:16 +00:00
jtc
5187624c00
Use ".St -p1003.2-92" macro instead of spelling it out.
1993-11-30 00:36:01 +00:00
jtc
b9e1a8c55a
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:19:51 +00:00
jtc
b79c476d97
Use ".At v7" macro instead of spelling out "Version 7 AT&T UNIX".
1993-11-30 00:18:19 +00:00
jtc
93a125034a
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:11:45 +00:00
jtc
0e4b463504
Error in hextobin() macro messed up hex escape constants.
1993-11-25 04:42:11 +00:00
jtc
4d9f06c8e5
Get rid of otoi(), use strtoul() instead. Not only gets rid of a function,
...
but allows hex offsets as well.
Misc other minor tweaks.
1993-11-23 00:50:46 +00:00
brezak
8af3b17eb0
Use rnusers XDR's in librpcsvc.
1993-11-21 20:18:22 +00:00
mycroft
c018c0e0fe
Oops. Don't want the name spaced out.
1993-11-21 20:02:28 +00:00
mycroft
29ed1ec94a
Make sure we don't run off the end of ut_name when printing the short way.
1993-11-21 19:54:19 +00:00
brezak
a4fc624fbb
Cleanup to use hand-crafted version2 xdr's
1993-11-21 19:01:01 +00:00
mycroft
5a05271ae9
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
Fix typo in comment line for RCS id.
1993-11-20 22:25:19 +00:00
mycroft
824c494570
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
Patch to prevent core dumping when linked dynamically.
1993-11-20 22:24:17 +00:00
jtc
4c35e0b3ba
Oops! get rid of the free(), mklong()'s buffer no longer malloc()'d.
1993-11-19 21:08:17 +00:00
jtc
fac5e167cc
Return from main() if a \c escape is encountered in a %b string (was an exit()).
...
Use macro constants for "skip1" and "skip2" instead of assigning them
each loop iteration.
Reformat the multi-case entries in the "big switch" so the lines don't wrap.
1993-11-19 21:05:37 +00:00
jtc
563de0f1c5
Move all the code from do_printf() into do-while loop in main(). I need
...
to be able to return from main() when a "\c" in a %b string is encountered.
1993-11-19 20:50:27 +00:00
jtc
d1a877c5ed
Merged in most of the changes from 4.4 necessary to make printf a sh
...
and csh builtin --- still need to handle the one remaining exit() in
the SysV escape string handling code.
1993-11-19 20:30:57 +00:00
jtc
6b9684b200
As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
...
to match just in case someone changes the value of EOF.
1993-11-19 20:07:13 +00:00