severity 646847 wishlist
severity 646848 wishlist
merge 590920 646847
merge 590920 646848
quit

Hi,

Markus Raab wrote:

> (
>     flock -n 200
>          # ... commands executed under lock ...
> ) 200>/var/lock/mylockfile
> --
> as in 'man flock' does not work with dash:

My copy of "man flock" uses a 9.  As POSIX (XCU ยง2.7 "Redirection")
says:

        Open files are represented by decimal numbers starting
        with zero. The largest possible value is
        implementation-defined; however, all implementations
        shall support at least 0 to 9, inclusive, for use by the
        application. 

However, as mentioned at <http://bugs.debian.org/590920>, a patch to
implement redirection to multi-digit file descriptors without making
dash larger is not likely to make anyone less happy, if you have time
for it.

Hope that helps,
Jonathan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to