Commit Graph

16 Commits

Author SHA1 Message Date
christos 8f1498a599 - Don't use a stale errno when printing an error
- Redo all error printing using varargs
- KNF
- More descriptive error messages
2005-10-31 16:15:42 +00:00
christos 1cb716844a Don't use hard-coded values for nobody. Specially ones that don't match
what /etc/group has.
2005-10-31 15:46:50 +00:00
dsl 49f7d8a9b1 Add (unsigned char) cast to ctype functions 2004-11-05 21:30:31 +00:00
itojun 22795e9102 use strlcpy 2003-05-17 22:57:30 +00:00
dsl de1c071819 Call setsid() so that setlogname doesn't affect our parent and siblings.
(approved by christos)
2003-03-03 17:14:36 +00:00
christos 5ba367f315 err, fix arg to warn. 2002-07-29 00:36:44 +00:00
christos 5e254dfcd4 jeez, this program included almost everything in /usr/include! 2002-07-29 00:35:49 +00:00
martin a3ffe0312f Make scanf parameters and variable types match. This helps archs
where sizeof(int) != sizeof(long).
2002-06-06 09:29:31 +00:00
simonb dde4b6e5d0 Use LOGIN_NAME_MAX for sizing the mailname buffer. Allows usernames
longer than 8 characters to run jobs instead of aborting because
"File ... is in wrong format".
2000-06-25 13:32:34 +00:00
simonb 299578ebd5 Spell "privilege" correctly (correct spelling from Jonathan Stone). 1999-08-16 02:59:22 +00:00
kleink b75d68301e <sys/fcntl.h> -> <fcntl.h> 1999-02-12 15:04:00 +00:00
christos d7b7ede245 Merge in changes from OpenBSD. 1998-06-27 21:15:42 +00:00
mrg 78a8e977dc WARNS?=1. 1997-10-07 10:49:16 +00:00
thorpej 176865a07b RCS id police. 1996-08-30 20:15:06 +00:00
cgd 3a92da2d89 properly init group list before running the job. 1995-03-02 22:06:06 +00:00
cgd 940867e342 add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de 1993-12-05 11:34:40 +00:00