NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/48351 CVS commit: src/usr.bin/flock
The following reply was made to PR bin/48351; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Dennis Ferguson <dennis.c.ferguson%gmail.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: PR/48351 CVS commit: src/usr.bin/flock
Date: Tue, 29 Oct 2013 17:19:46 -0400
On Oct 29, 3:32pm, dennis.c.ferguson%gmail.com@localhost (Dennis Ferguson)
wrote:
-- Subject: Re: PR/48351 CVS commit: src/usr.bin/flock
| Ah, maybe it's my fault for not providing a better example. This
| seems to work:
|
| $ (
| > ./flock -s 0; echo $?
| > ./flock -x 0; echo $?
| > ./flock -s 0; echo $?
| > ./flock -u 0; echo $?
| > ) < /tmp/a_file
| 0
| 0
| 0
| 0
|
| I think the thing being locked might need to be a regular file.
On linux locking 0 on the shell works...
christos
Home |
Main Index |
Thread Index |
Old Index