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
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