cvs commit: src/usr.bin Makefile src/usr.bin/shlock Makefile shlock.c

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jul 23 13:13:14 PDT 2005


On Sat, Jul 23, 2005 at 12:47:15PM -0700, Joerg Sonnenberger wrote:
> joerg       2005/07/23 12:47:15 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     usr.bin              Makefile 
>   Added files:
>     usr.bin/shlock       Makefile shlock.c 
>   Log:
>   Add shlock(1), a program for the safe creation of lock files from shell
>   scripts. It's uses the same algorithm as implemented by Erik Fair, but
>   is easier to read and more stricter in checking for error conditions.

I'll leave it to someone more documentation savy to either write a nice
manpage from scratch or include the NetBSD version. The latter has a
small bug BTW, the script uses link / unlink and not rename :-)

Joerg





More information about the Commits mailing list