> Is this still an issue on gutsy and/or hardy?
Seems fixed in AMD64 7.10.
$ LINEBUF= ./closed 4>&1 <&- >&- 2>&-
getchar=-1
puts=-1
printf=-1
fprintf=-1
fprintf=-1
$ ldd closed
libc.so.6 => /lib/libc.so.6 (0x00002b9d1e191000)
/lib64/ld-linux-x86-64.so.2 (0x00002b9d1df73000)
$ apt-show-versions -p libc6
libc6/gutsy uptodate 2.6.1-1ubuntu10
--
libc6's printf and fprintf don't return -1 on closed stdout/stderr.
https://bugs.launchpad.net/bugs/20775
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs