| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Avoid shadowing a global variable with a function argument.
Set WARNS to 6.
|
| |
|
|
|
|
| |
I find it quite handy to just hit ^T and see the time.
|
|
|
|
|
|
| |
PR: bin/89666
Submitted by: Arne H Juul
MFC after: 1 month
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: yar
|
|
|
|
|
|
|
|
| |
- PID should be pid_t, not int;
- sort #include's and local variables;
- don't overuse initializers;
- use warn(3) instead of perror(3) consistently;
- amplify the comment on signals.
|
|
|
|
|
| |
if the child process has exited on a signal
whose default action is to dump core.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
|
| |
|
|
|
|
| |
sentence stating it did.
|
|
|
|
|
| |
that is to be invoked on the command line. Use "utility" instead of "command"
in manual page and usage message for consistency with POSIX.
|
| |
|
|
|
|
| |
may change errno.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Tony Finch <dot@dotat.at>
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
| |
getopt returns -1 not EOF.
|
|
|
|
|
|
|
|
| |
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.
Reported by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Consistently misspell built-in as builtin.
* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
builtin commands for which no standalone utility exists. These MLINKS
replace those that were created for csh(1).
* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
as well as to the manpages of standalone utilities which are supported
as shell builtin commands in at least one of the shells. In such
manpages, explain that similar functionality may be provided as a
shell builtin command.
* Improve sh(1)'s description of the cd builtin command. Csh(1) already
describes it adequately. Replace the cd(1) manpage with a builtin(1)
MLINKS link.
* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
Ic instead of Xr for shell builtin commands.
* Undo English contractions.
Reviewed by: mpp, rgrimes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
|
|
|
|
|
|
| |
Updates the manpage as well.
I've rewritten the patch as it was for 2.2.7. It can probably be put
into 3.1-STABLE as well.
PR: bin/10515
Submitted by: Jens Schweikhardt <schweikh@noc.dfn.de>
|
|
|
|
|
|
|
|
|
|
|
| |
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
|
| |
|
| |
|
|
|
|
| |
Pointed out by: Bruce Evans
|
| |
|
|
|
|
|
|
|
|
|
|
| |
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout. Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.
PR: 7368
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
|
| |
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
|
| |
on the structures time(1) displays, instead of refering
he reading to an include file.
Obtained from: NetBSD-bugs mailing list PR#3193
|
|
|
|
| |
Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
|
|
|
|
|
|
|
|
|
|
| |
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100. The correct value is the frequency
of the statistics clock, currently 128. The program now uses sysctl
to get the stathz value from the kernel.
Discussed with: bde@freebsd.org (Bruce Evans)
|
| |
|
|
|
|
|
| |
There is a typo in the include file specification in the man page of
time(1).
|
|
|