jkoshy
e27dc1bad8
Remove compile time dependency on ARG_MAX.
...
PR: 1791 (partial)
Reviewed by: Bruce Evans <bde@freebsd.org>, Tor Egge <tegge@freebsd.org>
1998-06-17 11:33:10 +00:00
peter
6aad18db89
Don't attempt to change owner/mode/flags that don't need to changed.
...
This should calm down attempts to `cp -p' to a nfs mount or some other
filesystem that doesn't accept flags or all combinations of flags.
It will warn if it fails to change flags though.
1998-06-10 06:29:23 +00:00
dt
a89f496cbf
Print correct error message if we copy an unreadable directory.
1998-06-09 13:42:51 +00:00
imp
bfab679fdd
Make sure we don't overflow the path buffer. Exit if we do.
...
Obtained from or inspired by: A similar change in OpenBSD by theo
1998-06-09 03:39:38 +00:00
imp
c530c6747a
Make sure we pass the length - 1 to readlink, since it adds its own
...
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
1998-06-09 03:38:43 +00:00
steve
260fa64a35
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
jkoshy
05b4720d37
Fix errors that crept into the previous commit.
1998-06-04 07:02:59 +00:00
jkoshy
113bd4662a
1. ps' output now shows 3 characters in the
TT' field, not 2, after
...
rev 1.6 of "ps.c".
2. Reword description of `-f' option.
PR: 5340
Submitted by: Jorge Goncalves <j@bug.fe.up.pt>
1998-06-04 06:46:13 +00:00
jkoshy
fb0af3e989
Correct description of -crtscts.
...
PR: 6836
Submitted by: Andrew <andrew@ugh.net.au>
1998-06-03 04:07:59 +00:00
steve
b881531554
Clarify the example a bit.
...
PR: 6801
Reviewed by: David Kelly <dkelly@hiwaay.net>
1998-05-31 22:43:57 +00:00
bde
935c494c4b
Fixed imperfections in previous commit (a poor variable name,
...
excessive 64-bit arithmetic, and excessive changes).
1998-05-31 12:09:50 +00:00
phk
d3d65c6b2e
Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
...
Clean up (or if antipodic: down) some of the msgbuf stuff.
Use an inline function rather than a macro for timecounter delta.
Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.
Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()
This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.
WARNING: Programs which muck about with struct proc in userland
will have to be fixed.
Reviewed, but found imperfect by: bde
1998-05-28 09:30:28 +00:00
phk
efc31c018f
"make world" replaces /bin/rmail even when NO_SENDMAIL has been set to
...
true in /etc/make.conf. Both qmail and smail use a different rmail, so
replacing rmail is a Bad Thing.
PR: 6762
Reviewed by: phk
Submitted by: Bill Trost <trost@cloud.rain.com>
1998-05-27 09:25:22 +00:00
steve
8f4f4514cc
Don't append a '/' to the destination directory if there
...
is already one there.
PR: 3025
1998-05-25 22:44:16 +00:00
steve
b273678ed2
If no value is present for the login name set it to '-'.
...
Also pretty-up the display of 'ps -Ortprio'.
PR: 4947
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1998-05-25 05:07:18 +00:00
jkoshy
56469e323e
Improve description of absolute modes.
...
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6634
1998-05-19 06:24:50 +00:00
charnier
d40a1af7e0
Correct use of .Nm. Add rcsid.
1998-05-18 06:51:59 +00:00
charnier
50b030d998
Correct use of .Nm. Add section number to .Xr references. Add rcsid.
1998-05-18 06:50:17 +00:00
charnier
86bc037e71
Add rcsid. Spelling.
1998-05-18 06:44:24 +00:00
charnier
73aa050493
Correct use of .Nm. Add rcsid.
1998-05-18 06:40:56 +00:00
charnier
47f1e7cea8
Correct use of .Nm. Add section number to .Xr references.
1998-05-18 06:39:17 +00:00
charnier
75bfd9abdd
.Nm rm -> .Nm.
1998-05-18 06:37:35 +00:00
jkoshy
e0d2492ccb
kill.1: Remove reference to obsolete sigvec(2) man page. Removed
...
self reference in sigaction(2) man page.
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6617
1998-05-18 03:33:11 +00:00
charnier
cf1a881890
Correct use of .Nm. Add rcsid.
1998-05-15 06:30:58 +00:00
charnier
8a9755ceef
correct use of .Nm. Add rcsid.
1998-05-15 06:23:45 +00:00
charnier
0d7cd7ed82
Correct use of .Nm. Typo.
1998-05-15 06:22:30 +00:00
charnier
233c097df4
Correct use of .Nm. Add rcsid.
1998-05-15 06:19:05 +00:00
phk
4c734c0e4d
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
charnier
de95e3d75f
Correct use of .Nm. Add rcsid.
1998-05-13 07:47:35 +00:00
charnier
f18d7e3d59
Correct use of .Nm.
1998-05-13 07:43:56 +00:00
charnier
71695643f4
Convert to mdoc.
1998-05-13 07:41:13 +00:00
charnier
b0feaf5a6b
Correct use of .Nm. Add rcsid.
1998-05-13 07:39:11 +00:00
charnier
f60d38b876
Correct use of .Nm.
1998-05-13 07:35:44 +00:00
charnier
e3ba26c492
Restore Lite-2 sccsid. Restore include of sys/types.h.
1998-05-13 07:33:54 +00:00
charnier
eb81410eba
Restore Lite-2 sccsid. Restore include of sys/param.h.
1998-05-13 07:31:42 +00:00
charnier
bf2e3ba402
Restore include of sys/types.h and sys/param.h.
1998-05-13 07:29:15 +00:00
charnier
8479be9410
Restore Lite-2 sccsid.
1998-05-13 07:25:17 +00:00
charnier
a9eea7e9e3
Restore original Lite-2 sccsid. Restore include of sys/types.h.
1998-05-13 07:22:11 +00:00
charnier
b35618eb35
Do not remove include of <sys/param.h> and <sys/types.h>. They should
...
be here before including almost any POSIX header.
Requested by: Bruce
1998-05-13 07:19:45 +00:00
charnier
6a2297e2da
Restore Lite2 sccsids by removing `const'. Improve documentation a little.
...
Suggested by: Bruce
1998-05-13 07:16:37 +00:00
jb
babe8d3976
Of these programs, only df and ps aren't compatible with FreeBSD/Alpha.
...
All the rest work! Actually, I don't know if chio works because I can't
test that. df can be built using NetBSD's mount.h. ps depends on libkvm
so there is no point trying.
1998-05-09 06:42:52 +00:00
bde
196c9f6d89
Backed out previous backout. Put y.tab.h back in SRCS.
1998-05-06 15:33:59 +00:00
charnier
c4d26d7f83
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
1998-05-06 06:51:42 +00:00
charnier
32338c8e05
Correct use of .Nm, .An and other cosmetics. Add rcsid. Remove unused #inc.
1998-05-06 06:49:16 +00:00
bde
dba406f638
Backed out previous commit. It was tested, but not for the case where
...
a separate object tree doesn't exist. Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
1998-05-05 07:36:55 +00:00
bde
f701fbc7d5
Fixed races in `make -jN' using new yacc rules.
1998-05-04 20:09:06 +00:00
bde
c41c6ae044
Simplified using new yacc rules and by not generating y.tab.h.
1998-05-04 18:41:16 +00:00
cracauer
5b12149227
When calling a shell function, remember whether exit status is tested.
...
This is needed for the '-e' option. See the PR for more details.
PR: 6047
Reviewed by: PR submitter, silence on review request.
1998-05-04 07:24:10 +00:00
imp
fe8d175e62
Add note about BLOCKSIZE variable to -s flag.
1998-04-29 18:39:51 +00:00
bde
ea697874b9
Backed out most of rev.1.19 (explicit dependencies of object files
...
on generated headers). This is now handled generally in bsd.prog.mk.
1998-04-26 16:12:23 +00:00