https://bugs.kde.org/show_bug.cgi?id=467714

--- Comment #2 from Mark Wielaard <m...@klomp.org> ---
Tested with:

 #include <stdlib.h>
 #include <unistd.h>
 int main (int argc, char *const argv[])
 {
   for (int i = 0; i < 100; ++i)
     dup (1);
   execvp (argv[1], argv + 1);
   exit (1);
 }

gcc -o dup100 dup100.c

./dup100 valgrind --track-fds=yes /bin/true
 ==673839== FILE DESCRIPTORS: 103 open (3 std) at exit.
 ==673839== Open file descriptor 102: /dev/pts/5
 ==673839==    <inherited from parent>
 [...]

 ./dup100 perl tests/vg_regtest none/tests/fdleak*vgtest
all fail
 with patch all succeed
\o/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to