In article <20131029220912.05f7d58a26dcea4217544...@pandora.be>, dieter roelants <dieter.net...@pandora.be> wrote: >On Tue, 29 Oct 2013 12:02:15 -0400 >"Christos Zoulas" <chris...@netbsd.org> wrote: > >> Module Name: src >> Committed By: christos >> Date: Tue Oct 29 16:02:15 UTC 2013 >> >> Modified Files: >> src/usr.bin/flock: flock.c >> >> Log Message: >> PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags. >> XXX: still flock -s 0 fails with EINVAL, why? > >Your stdin is a pty and ptyfs doesn't do advisory locks?
You are probably right. christos