aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lockf
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utilityPhilippe Charnier2002-06-211-1/+4
| | | | Notes: svn path=/stable/4/; revision=98564
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-2/+4
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81777
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-1/+1
| | | | Notes: svn path=/stable/4/; revision=80147
* MFC: add historyDavid E. O'Brien2000-12-101-0/+4
| | | | Notes: svn path=/stable/4/; revision=69810
* $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