Re: st_dev and st_ino for pipes

2011-10-05 Thread John Baldwin
On Sunday, October 02, 2011 6:04:05 pm Kostik Belousov wrote: Our implementation of pipes does not provide useful values for st_dev and st_ino when stat(2) is done on an anonymous pipe. It was noted by the people outside the project, e.g. Perl contains a workaround in one of its modules,

Re: st_dev and st_ino for pipes

2011-10-04 Thread Peter Jeremy
On 2011-Oct-03 01:04:05 +0300, Kostik Belousov kostik...@gmail.com wrote: Our implementation of pipes does not provide useful values for st_dev and st_ino when stat(2) is done on an anonymous pipe. It was noted by the ... Patch below implements the requirement, by the cost of the small overhead at

Re: st_dev and st_ino for pipes

2011-10-04 Thread Kostik Belousov
On Tue, Oct 04, 2011 at 05:37:27PM +1100, Peter Jeremy wrote: On 2011-Oct-03 01:04:05 +0300, Kostik Belousov kostik...@gmail.com wrote: Our implementation of pipes does not provide useful values for st_dev and st_ino when stat(2) is done on an anonymous pipe. It was noted by the ... Patch

st_dev and st_ino for pipes

2011-10-02 Thread Kostik Belousov
Our implementation of pipes does not provide useful values for st_dev and st_ino when stat(2) is done on an anonymous pipe. It was noted by the people outside the project, e.g. Perl contains a workaround in one of its modules, submitted by Debian/kFreeBSD developers, see