Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Actually, the C standard only guarantees that atexit(3) returns non-zero | 2019-06-28 | 1 | -2/+2 | |
| | | | | | on error, so tweak previous to test "atexit(...) != 0" for portability. "OK ok ok sorry backwards" deraadt@ | ||||
* | atexit() returns -1 on failure | 2019-06-28 | 1 | -2/+2 | |
| | |||||
* | Remove three NULL-checks before free(). ok millert@ | 2015-11-27 | 1 | -5/+3 | |
| | |||||
* | Do not assume that asprintf() clears the pointer on failure, which | 2015-06-03 | 1 | -3/+2 | |
| | | | | | is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@ | ||||
* | sys/types.h rather than sys/param.h, where applicable. avoid overreach. | 2014-06-30 | 1 | -2/+2 | |
| | |||||
* | Fix FILE * leak in error path if fprintf fails. Found by and OK gilles@ | 2013-10-01 | 1 | -2/+4 | |
| | |||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | scrape $Id$ tags. | 2005-08-02 | 1 | -5/+1 | |
| | | | | okay deraadt@, millert@, krw@ | ||||
* | knf; otto ok | 2004-05-28 | 1 | -3/+3 | |
| | |||||
* | pid_t cleanup | 2002-05-26 | 1 | -3/+3 | |
| | |||||
* | atexit(3) can fail. handle error accordingly. deraadt ok | 2002-05-22 | 1 | -3/+11 | |
| | | | | | XXX libraries should not use atexit(3) from within, as program can terminate with _exit. | ||||
* | pids should be pid_t, not int | 2002-01-02 | 1 | -3/+3 | |
| | |||||
* | save the pid as well, and only do the atexit in the same pid | 2001-12-08 | 1 | -9/+13 | |
| | |||||
* | add pidfile(3) - write a daemon pid file. ok deraadt@, millert@. | 2001-09-28 | 1 | -0/+105 | |