Jacques Vidrine
16c93fc052
Document the printf built-in.
1998-07-27 21:31:19 +00:00
Jacques Vidrine
0bc998d8ab
csh built-in printf now expands arguments. e.g.
...
printf '%d\n' `echo 23`
now works as expected.
PR: bin/2969
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1998-07-27 21:15:52 +00:00
Joseph Koshy
056103b6d3
Fix use of -man macro, correct description of the behaviour of the `+n'
...
command to match whats there in the source.
PR: 7328
1998-07-21 04:53:18 +00:00
Bruce Evans
3c3472fb32
Added a `build-tools' target for internal tools.
...
Removed explicit dependencies of foo.o on foo.c. These were mainly
placeholders for comments about missing dependencies of tools objects
on headers. This problem needs to be handled more generally.
1998-07-07 01:06:58 +00:00
Poul-Henning Kamp
85082fc3c3
Pick up kernel variables/constants using sysctl rather than through /dev/mem
...
Use /dev/null for opening the kvm library, we don't need access to /dev/mem
anymore.
ps can now run without the setgid(kmem) bit. If it does it will not be
able to show argv/envp for another uid's processes unless you are root.
1998-06-30 21:34:14 +00:00
Bruce Evans
ce0cab88c1
Fixed printf format errors (second round with non-i386 typedefs).
1998-06-28 21:05:48 +00:00
Bruce Evans
fe6f0b0824
Fixed printf format errors.
1998-06-28 21:00:04 +00:00
Bruce Evans
86e14119e9
Oops, the previous log message should have read "Fixed type mismatches -
...
don't assume that time_t is long".
1998-06-28 18:26:18 +00:00
Bruce Evans
f8ec5fe282
Fixed printf format errors.
1998-06-28 18:19:13 +00:00
Bruce Evans
0eb7b1cad0
Fixed printf format errors.
1998-06-28 18:08:54 +00:00
Joseph Koshy
c7bca09356
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 Wemm
4faaa03777
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
Dmitrij Tejblum
f6fa1b35fd
Print correct error message if we copy an unreadable directory.
1998-06-09 13:42:51 +00:00
Warner Losh
8a20f85ccb
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
Warner Losh
e00e592a7a
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 Price
32c2131395
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
Joseph Koshy
55cb6cf5fb
Fix errors that crept into the previous commit.
1998-06-04 07:02:59 +00:00
Joseph Koshy
77027e301b
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
Joseph Koshy
d693a28e3c
Correct description of -crtscts.
...
PR: 6836
Submitted by: Andrew <andrew@ugh.net.au>
1998-06-03 04:07:59 +00:00
Steve Price
9e74704eb2
Clarify the example a bit.
...
PR: 6801
Reviewed by: David Kelly <dkelly@hiwaay.net>
1998-05-31 22:43:57 +00:00
Bruce Evans
5832a75246
Fixed imperfections in previous commit (a poor variable name,
...
excessive 64-bit arithmetic, and excessive changes).
1998-05-31 12:09:50 +00:00
Poul-Henning Kamp
e796e00de3
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
Poul-Henning Kamp
5734ac28b4
"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 Price
191b38b5fa
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 Price
ad863cac06
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
Joseph Koshy
d5440753aa
Improve description of absolute modes.
...
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6634
1998-05-19 06:24:50 +00:00
Philippe Charnier
9ba8bd6557
Correct use of .Nm. Add rcsid.
1998-05-18 06:51:59 +00:00
Philippe Charnier
44dc619ed6
Correct use of .Nm. Add section number to .Xr references. Add rcsid.
1998-05-18 06:50:17 +00:00
Philippe Charnier
3d7b5b9302
Add rcsid. Spelling.
1998-05-18 06:44:24 +00:00
Philippe Charnier
1aad99bc66
Correct use of .Nm. Add rcsid.
1998-05-18 06:40:56 +00:00
Philippe Charnier
df73a899fc
Correct use of .Nm. Add section number to .Xr references.
1998-05-18 06:39:17 +00:00
Philippe Charnier
f43e9d2251
.Nm rm -> .Nm.
1998-05-18 06:37:35 +00:00
Joseph Koshy
c38eceafa4
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
Philippe Charnier
c9a8d1f4dd
Correct use of .Nm. Add rcsid.
1998-05-15 06:30:58 +00:00
Philippe Charnier
06f628852a
correct use of .Nm. Add rcsid.
1998-05-15 06:23:45 +00:00
Philippe Charnier
542ed50153
Correct use of .Nm. Typo.
1998-05-15 06:22:30 +00:00
Philippe Charnier
2a170595d1
Correct use of .Nm. Add rcsid.
1998-05-15 06:19:05 +00:00
Poul-Henning Kamp
84717b42e8
.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
Philippe Charnier
61c9c5ebee
Correct use of .Nm. Add rcsid.
1998-05-13 07:47:35 +00:00
Philippe Charnier
15638d89b5
Correct use of .Nm.
1998-05-13 07:43:56 +00:00
Philippe Charnier
00c2adfe12
Convert to mdoc.
1998-05-13 07:41:13 +00:00
Philippe Charnier
95d0bf6556
Correct use of .Nm. Add rcsid.
1998-05-13 07:39:11 +00:00
Philippe Charnier
d072138a0a
Correct use of .Nm.
1998-05-13 07:35:44 +00:00
Philippe Charnier
1ba0e048a2
Restore Lite-2 sccsid. Restore include of sys/types.h.
1998-05-13 07:33:54 +00:00
Philippe Charnier
574d120677
Restore Lite-2 sccsid. Restore include of sys/param.h.
1998-05-13 07:31:42 +00:00
Philippe Charnier
91ac062612
Restore include of sys/types.h and sys/param.h.
1998-05-13 07:29:15 +00:00
Philippe Charnier
c194af34bd
Restore Lite-2 sccsid.
1998-05-13 07:25:17 +00:00
Philippe Charnier
d4e2eddf9d
Restore original Lite-2 sccsid. Restore include of sys/types.h.
1998-05-13 07:22:11 +00:00
Philippe Charnier
930ab418d3
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
Philippe Charnier
12f93eb9b1
Restore Lite2 sccsids by removing `const'. Improve documentation a little.
...
Suggested by: Bruce
1998-05-13 07:16:37 +00:00