Package: lockfile-progs
Version: 0.1.10
Severity: normal

The man page states: "Note that the description above matches the one for the
underlying lockfile_create(3) call, but in fact, this option might be better
named --tries since --retry 0 will not try to lock at all.".

But behold:

[EMAIL PROTECTED]:/home/darcs/bin$ if lockfile-create --retry 0 .testlock; then 
echo gotit; else echo no  no no no no; fi
gotit
[EMAIL PROTECTED]:/home/darcs/bin$ if lockfile-create --retry 0 .testlock; then 
echo gotit; else echo no  no no no no; fi
lockfile creation failed
no no no no no

Regards,

Zooko

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lockfile-progs depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  liblockfile1                1.06         NFS-safe locking library, includes

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to