https://bugzilla.novell.com/show_bug.cgi?id=728774
https://bugzilla.novell.com/show_bug.cgi?id=728774#c47
--- Comment #47 from Dr. Werner Fink 2012-06-11 12:09:52 UTC ---
(In reply to comment #45)
Indeed dup(2) works whereas (re)open the file (descriptor) below /proc/self/
does not. Nevertheless it seems to be common as I've a simliar bug report
with the ksh which uses socketpair(2) instead of pipe(2) and this fools
programs
like diff (compare with bnc #627524) ... and there are more than diff which
uses /proc/sef/fd/{0,1,2} or /dev/std{in,out,err} to check for standard
file descriptors. The behaviour that this does not work for a socket seems
to linux specific if I understand David Korn correct.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.