NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/48351: flock(1) -x, -s and -u options don't work



>Number:         48351
>Category:       bin
>Synopsis:       flock(1) -x, -s and -u options don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 29 07:00:00 +0000 2013
>Originator:     Dennis Ferguson
>Release:        6.99.24
>Organization:
no organisation at all
>Environment:
NetBSD b1.to.mistimed.ca 6.99.24 NetBSD 6.99.24 (GENERIC) #3: Fri Oct 11 
14:35:16 EDT 2013  
dennis%b1.to.mistimed.ca@localhost:/build/amd64/obj/sys/arch/amd64/compile/GENERIC
 amd64

>Description:
flock(1) complains and quits if any of the -x, -s or -u options is specified
>How-To-Repeat:
$ flock -s 0
flock: -s can't be used with -x
Usage: flock [-dnosvx] [-w timeout] lockfile|lockdir [-c command]|command ...
        flock [-dnsuvx] [-w timeout] lockfd
$ flock -x 0 
flock: -x can't be used with -x
Usage: flock [-dnosvx] [-w timeout] lockfile|lockdir [-c command]|command ...
        flock [-dnsuvx] [-w timeout] lockfd
$ flock -u 0  
flock: -u can't be used with -x
Usage: flock [-dnosvx] [-w timeout] lockfile|lockdir [-c command]|command ...
        flock [-dnsuvx] [-w timeout] lockfd


>Fix:



Home | Main Index | Thread Index | Old Index