Re: O_NONBLOCK problems with an offline file

2013-03-21 Thread Ron Kerry
On 3/21/13 9:27 AM, Ron Kerry wrote: On 3/21/13 9:18 AM, Vitezslav Cizek wrote: Hello, Sorry for the late reply. * Dne Pondělí 25. únor 2013, 20:31:58 [CET] Paul Eggert napsal: Won't you folks have similar problems with other GNU utilities? GNU 'touch', for example. Can you propose patches f

Re: O_NONBLOCK problems with an offline file

2013-03-21 Thread Ron Kerry
On 3/21/13 9:18 AM, Vitezslav Cizek wrote: Hello, Sorry for the late reply. * Dne Pondělí 25. únor 2013, 20:31:58 [CET] Paul Eggert napsal: Won't you folks have similar problems with other GNU utilities? GNU 'touch', for example. Can you propose patches for all these? Just look for O_NONBLOC

Re: O_NONBLOCK problems with an offline file

2013-03-21 Thread Vitezslav Cizek
Hello, Sorry for the late reply. * Dne Pondělí 25. únor 2013, 20:31:58 [CET] Paul Eggert napsal: > > Won't you folks have similar problems with other GNU utilities? > GNU 'touch', for example. Can you propose patches for all > these? Just look for O_NONBLOCK in the source code. > These two bug

Re: O_NONBLOCK problems with an offline file

2013-02-25 Thread Paul Eggert
On 02/25/13 05:20, Vitezslav Cizek wrote: > Dropping the O_NONBLOCK flag to open() solves the issue. Doing that would have bad effects elsewhere, as it would allow some denial of service attacks. > A different fix was introduced to tar - dropping the flag with fcntl() > after a subsequent read