https://bugzilla.novell.com/show_bug.cgi?id=732910
https://bugzilla.novell.com/show_bug.cgi?id=732910#c27
--- Comment #27 from Neil Rickert 2011-12-22 05:37:43 UTC ---
Created an attachment (id=468604)
--> (http://bugzilla.novell.com/attachment.cgi?id=468604)
A shell script for testing redirect to "/dev/stderr
According to the documentation that I could find (with google search), opening
"/dev/fd/n" is supposed to be equivalent to dup() of file descriptor n. If
file descriptor n is opened for append, then a dup would still be appending.
The behavior I am seeing for /dev/stderr (which is a symlink to /dev/fd/2 )
does not act that way.
Running the "xtest" script on a solaris 8 system gives the expected results.
Running on openSUSE 12.1 gives what I believe to be the wrong results, in that
it truncates the file instead of appending.
I also tested on a debian system
Linux turing 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 GNU/Linux
and that also gave the wrong results (the same results as I am seeing on 12.1)
--
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.