dwmalone
b4339b74ad
ANSIify function definitions.
...
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
2002-09-04 23:29:10 +00:00
mike
9b39ed7b94
Use POSIX macros for wait(2)-style status information instead of the
...
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
imp
0b20191705
remove __P
2002-03-22 01:42:45 +00:00
markm
5388af43e4
Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2.
2001-12-12 23:23:52 +00:00
dwmalone
d9613ea383
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
dwmalone
7b333c32e3
Warns cleanups. Add FreeBSD ID.
2001-12-03 21:22:56 +00:00
sheldonh
9bfb9eedcd
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
...
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
dd
7894e59b7f
Nuke unused variables.
2001-06-24 23:41:57 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
kris
a1a3b8e5d8
Don't call warn() with no format string.
2000-07-10 09:18:19 +00:00
green
d5638c997d
Make a run-on sentence into two proper sentences, and clarify the meaning
...
a bit.
2000-03-06 23:06:11 +00:00
sheldonh
244b8ead7d
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
sheldonh
49c4458c80
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
billf
8271c7a404
Fix grammar error. (missing verb)
1999-12-13 23:37:56 +00:00
guido
0d47729503
Adjust man page: if command is specified, file name is mandatory
1999-11-24 15:47:45 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
sheldonh
a0bc0fa729
Pass as argv[0] the name of the shell executed instead of "sh".
...
PR: 2851
Reported by: era@iki.fi
Obtained from: NetBSD
1999-08-11 23:45:59 +00:00
jkoshy
3ed49ce3db
Mention default time between output flushes in manual page.
...
PR: docs/8009
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-29 01:49:49 +00:00
des
69cb5ab66d
Fix the following bugs:
...
- if a command was specified and script(1) failed to execute it,
it would print the name of your shell in the error message
instead of that of the command that failed.
- since finish() was installed as a SIGCHLD handler, it would
often run before the main loop had had time to process the
last few bytes of output. This resulted in very strange
truncated error messages.
- script(1) would almost always return with an exit status of 0,
even if the command returned a non-zero exit status. This broke
my 'build world, install it and rebuild the kernel' scripts
because 'make installworld' would run even if 'make buildworld'
had failed.
1998-09-19 09:45:42 +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
peter
7e266dccdf
Rewrite script as a select loop rather than as a twin reader/write process.
...
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
1998-03-08 14:19:18 +00:00
peter
c4bd99c59d
Fix typo while copying patch from the 2.2 system that it came from
...
Use execvp rather than execv so that full paths are not needed.
1997-12-30 01:20:08 +00:00
peter
c43811df0f
script(1) has annoyed me with it's inflexable command argument parsing
...
since I first saw it. I finally needed to pass arguments through to
the spawned command badly enough (and urgently) that I threw this together.
1997-12-29 13:31:46 +00:00
charnier
589d243b09
Add usage(). Use err(3) instead of local redefinition.
1997-08-08 12:24:49 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
bde
6ed5ccfb8f
Don't use __dead or __pure in user code. They were obfuscations
...
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
wollman
fc1f6c1d76
Delete bogus referneces to timezone code internal header file `tzfile.h',
...
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00