| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-03-30 | fail to create a pidfile if hostname contains '/' | ryo | |
| 2012-04-07 | read returns ssize_t, and err is a function name. | christos | |
| 2009-01-18 | fix -Wsign-compare issues | lukem | |
| 2006-03-19 | Coverity CID 1209: Avoid negative close. While I am there fix bugs (open | christos | |
| returning 0 is ok). Reorganize code to factor out common parts, cleanup syscall checking and error code return. | |||
| 2005-08-27 | Lint warnings. | elad | |
| 2003-07-26 | netbsd.org->NetBSD.org | salo | |
| 2003-04-21 | PR/7885: Kip Rugger: ttylock(3) ignores flags and locker parameters | christos | |
| 2002-11-16 | use strlcpy/cat | itojun | |
| 2000-07-05 | - __RCSID() police. | ad | |
| - ANSIfy. - Miscellaneous style changes. - Shutup lint(1) in one or two cases. | |||
| 1999-09-20 | back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. | lukem | |
| _DIAGASSERT() is still retained. | |||
| 1999-09-16 | * use _DIAGASSERT() to check pointer arguments against NULL and file | lukem | |
| descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif | |||
| 1999-01-11 | In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration | kleink | |
| of errno. | |||
| 1998-12-09 | Delint | christos | |
| 1998-07-06 | - use an array MAXHOSTNAMELEN+1 size to hold hostnames | mrg | |
| - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames | |||
| 1997-10-19 | Test file type correctly, using S_IS*(). | mycroft | |
| 1997-10-12 | * Add hostname to temporary file to avoid collisions when locking on | cjs | |
| an NFS volume and competing with the same pid on another machine. * Make locking on an NFS-moutned file work properly by checking link count. * Make sure correct errno is returned. | |||
| 1997-10-11 | Add pidlock, ttylock, ttyunlock functions. | cjs | |
