Commit Graph

16 Commits

Author SHA1 Message Date
matt 7ee69fc344 Avoid casting an lvalue. 2005-05-08 19:53:57 +00:00
xtraeme 691a36f2ea whitespace, remove main() prototype. 2005-01-20 15:44:59 +00:00
xtraeme 1ac55ee68a Kill __P(), ANSIfy, WARNS=3 2005-01-12 14:35:56 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun d5250e4ec9 safer use of realloc 2003-10-16 06:34:19 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
christos ffa8eefe34 fix nested extern
rename system to shell_system so that it does not conflict with libc
2001-02-05 01:20:12 +00:00
mjl 9dff294326 Fix off by one error in string length calculation (from OpenBSD rev 1.6) 2000-01-14 06:21:25 +00:00
christos 2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
thorpej d32f706973 Change an err() to a warn()/_exit(), so that it's safe for vfork(), and
fix the error message that's displayed if the vfork() fails.
1997-12-31 05:53:45 +00:00
lukem 8ebe3a25b5 getopt returns -1 not EOF 1997-10-18 12:23:21 +00:00
lukem 10a4ee85e0 WARNSify, fix .Nm usage 1997-10-18 11:47:18 +00:00
glass f0dbf5d4fb cleaned up old import 1995-03-25 03:38:16 +00:00
glass f511532ab3 rcsids 1994-09-21 03:17:34 +00:00
glass 581df8a2ac initial import 1994-09-21 03:07:20 +00:00