Re: [PATCH v8 1/6] tests: use /dev/fd to count open fds

2019-03-06 Thread Pekka Paalanen
On Mon, 4 Mar 2019 13:53:56 +0200 Pekka Paalanen wrote: > On Wed, 27 Feb 2019 21:13:08 +0200 > Leonid Bobrov wrote: > > > *BSD don't have /proc/self/fd, they use /dev/fd instead. > > At Linux /dev/fd is a symlink to /proc/self/fd > > > > Signed-off-by: Leonid Bobrov > > --- > >

Re: [PATCH v8 1/6] tests: use /dev/fd to count open fds

2019-03-04 Thread Pekka Paalanen
On Wed, 27 Feb 2019 21:13:08 +0200 Leonid Bobrov wrote: > *BSD don't have /proc/self/fd, they use /dev/fd instead. > At Linux /dev/fd is a symlink to /proc/self/fd > > Signed-off-by: Leonid Bobrov > --- > tests/test-helpers.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >

[PATCH v8 1/6] tests: use /dev/fd to count open fds

2019-02-27 Thread Leonid Bobrov
*BSD don't have /proc/self/fd, they use /dev/fd instead. At Linux /dev/fd is a symlink to /proc/self/fd Signed-off-by: Leonid Bobrov --- tests/test-helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-helpers.c b/tests/test-helpers.c index