aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lockf
Commit message (Collapse)AuthorAgeFilesLines
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Warns cleanups.David Malone2001-12-032-2/+2
| | | | Notes: svn path=/head/; revision=87290
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-141-1/+3
| | | | Notes: svn path=/head/; revision=81622
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* Add history.David E. O'Brien2000-12-101-0/+4
| | | | Notes: svn path=/head/; revision=69809
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Add a "-k" option, to specify that the lock file should be keptJohn Polstra1998-07-082-13/+27
| | | | | | | | | rather than removed. Submitted by: Nick Barnes <Nick.Barnes@pobox.com> Notes: svn path=/head/; revision=37493
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-4/+3
| | | | Notes: svn path=/head/; revision=34801
* lockf: usage : lockf -> usage: lockf by using fprintf instead of errx.Philippe Charnier1997-07-221-2/+4
| | | | Notes: svn path=/head/; revision=27603
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* On failure, return various exit codes from <sysexits.h>. In particular,John Polstra1997-01-092-17/+34
| | | | | | | | | | | | | return EX_TEMPFAIL if the file was already locked. This makes it easier to distinguish between lock collisions and failures within the command being executed. Also, don't complain if the unlink() fails in the cleanup handler. It doesn't matter anyway, and it obscured the exit status returned from the command that was executed. Notes: svn path=/head/; revision=21462
* Initial import of the lockf utility. It executes an arbitrary commandJohn Polstra1997-01-083-0/+314
while holding an exclusive lock on a file. Notes: svn path=/cvs2svn/branches/JDP/; revision=21439