summaryrefslogtreecommitdiffstats
path: root/lib/libutil/uucplock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* casts that cannot cause breakage in the futurederaadt2006-03-301-4/+4
|
* spaces, and a off_t typecast to please lintderaadt2005-11-281-7/+7
|
* Make sure we check snprintf return value for failure or truncation beforecloder2005-03-031-9/+10
| | | | | | using it. Make uu_lock_txfr work by properly checking return value from put_pid(). Fix an FD leak on the lockfile in an error path (from FreeBSD with modifications). OK millert@, input from otto@ and Bruno Rohee.
* knf; otto okderaadt2004-05-281-23/+12
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* some -Wall and spaces cleanup, scsi.c left.fgsch2002-06-091-1/+1
| | | | some brave soul should look at it.
* pid_t cleanupderaadt2002-05-261-4/+4
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* Add opendisk from NetBSD.csapuntz1999-09-211-1/+1
| | | | Add OpenBSD tags to files
* More <sys/file.h> vs. <fcntl.h> and open() flags fixes.millert1999-08-171-2/+2
|
* Get the pid right if a stale lock file exists.brian1999-03-161-4/+4
| | | | Submitted by: Lawrence D. Lopez <lopez@cisco.com>
* Cast pid_t to int for sprintf.brian1998-06-101-2/+2
| | | | Pointed out by: Charlie Sorsby <crs@hgo.net>
* Add uu_lock_txfr() for donating locks to another process.brian1998-06-081-1/+26
| | | | Reviewed by: Theo
* Correct the ftruncate() call.bri1997-11-091-2/+8
|
* Introduce uu_lock(), uu_unlock() and uu_lockerr()bri1997-11-091-0/+211
into libutil. Obtained from: FreeBSD Reviewed by: Theo