Commit Graph

23 Commits

Author SHA1 Message Date
christos c2bd98ebb5 From Liam Foy:
- Check for errno being set to ENOTDIR from execvp. This
  will stop an incorrect value being returned if a component
  of the new process image file's path is not a directory.
- Cleanup and KNF
2005-10-05 21:20:46 +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
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
wiz ec2f72310d Punctuation nit. 2001-12-08 19:09:35 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
ross cf4d2683a8 Classical Unix guaranteed that nice +19 would not compete with base priority
process execution. As this is true once again: say so.
1999-08-20 20:03:21 +00:00
christos 2136635414 char -> unsigned char 1998-12-19 20:11:20 +00:00
lukem c9af5d97cf WARNSify, fix .Nm usage 1997-10-19 06:28:02 +00:00
kleink 8287c17d78 Add references to [gs]etpriority(2). 1997-08-25 16:42:36 +00:00
jtc 62803f0235 Sync with 4.4lite2
I actually threw away most of the changes, because our version of this
program is considerably better.
1995-08-31 23:30:56 +00:00
jtc f4db87c6e4 Fix typos & spelling errors 1994-02-10 18:24:46 +00:00
jtc 2c7d5d92c9 Fix spelling errors. 1994-01-11 18:22:48 +00:00
pk 8ba2ec6a06 Include <sys/types.h> (needed in future because of <sys/resource.h>) 1993-12-02 19:52:01 +00:00
jtc 6b9684b200 As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
to match just in case someone changes the value of EOF.
1993-11-19 20:07:13 +00:00
jtc 81fd674b7b Fix bug that occured when exec-ing program name containing "%" characters
failed --- the "%" chars would be interpreted as printf directives.
1993-11-10 20:01:20 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
jtc 7b5c7989f0 Changed to be POSIX.2 compliant. 1993-08-27 20:22:04 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc b3617ad5e0 Don't core dump when invoked with no arguments.
Understand negative priorities.
1993-07-12 22:04:01 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00