christos
c1587f4d47
bring in fixes from OpenBSD:
...
- use varargs properly.
- pid_t
- better handling of error conditions on forked jobs.
2003-03-29 21:41:04 +00:00
perry
02b57cf8a2
Fix a bug introduced by Christos Zoulas in version 1.4.
...
He accidently moved the call to block the SIGCHLD to the wrong side of
the call to findchild().
Caused a coredump in one in every N thousand invocations of mail,
which I have been hunting for literally years.
Fixes PR 19696 from Mason Loring Bliss, too.
By the way, this is a prime example of why declarations of the form
struct foo *p = funcall();
are pure liquid evil.
2003-03-29 21:27:38 +00:00
wiz
ae38aa875b
Use warn() instead of perror().
2002-03-05 21:29:30 +00:00
wiz
b6e7b17180
KNF: No space after casts.
2002-03-05 21:18:14 +00:00
wiz
ab85015570
Don't use special null string pointer (NOSTR), just use NULL.
2002-03-04 03:07:25 +00:00
wiz
4e972651c7
Rename variables to avoid shadowing.
2002-03-02 15:27:51 +00:00
wiz
b127cccc2e
ANSIfy, and minimal KNF.
2002-03-02 14:59:35 +00:00
christos
288075599a
union wait -> int
1998-12-19 16:34:04 +00:00
mycroft
ff7fbfe809
Make sure to clear the child's signal mask in all cases.
1997-10-31 22:48:12 +00:00
lukem
7c81c8f378
WARNSify, fix .Nm usage, deprecate register, use <err.h>
1997-10-19 05:02:57 +00:00
mikel
d42ad5411c
don't try to ignore invalid signal; fixes PR bin/2901.
1997-05-13 06:48:42 +00:00
christos
faad20023f
Fix PR/2900: Handle case where the signal mask is NULL.
1996-10-29 00:02:01 +00:00
christos
88b833a7cd
- Fix PR/105: Implement dot locking protocol and check return value of flock.
...
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
deraadt
2cb5542f38
4.4-lite, plus our mods
1994-06-29 05:09:04 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00