-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug with die under linux #682
Comments
From courtois@pasteur.fr It looks there's a bug with die under linux. It can be evidenced with the following
|
From [Unknown Contact. See original ticket]Hi, It looks there's a bug with die under linux. It can be evidenced with the following
|
From @gsarOn 05 Oct 1999 14:07:25 -0000, we-will-never-know-who wrote:
This appears to be a peculiarity of libc/glibc on Linux. I'm sure if I'd go so far as to call it a bug in libc, though. FWIW, #include <stdio.h> int oldstderr = fdopen(dup(fileno(stderr)), "w"); newstderr = fdopen(dup(fileno(oldstderr)), "w"); fprintf(stderr, "works\n"); On a stock Debian Linux 2.1 system (with glib-2.0.7 I think), it prints: stderr=2 On Solaris 2.6 (and a few other platforms), it prints: stderr=2 Perl itself has been fixed to not rely on the behavior above. See: Sarathy |
From @gsarOn Tue, 05 Oct 1999 20:01:39 PDT, Gurusamy Sarathy wrote:
Sarathy |
From [Unknown Contact. See original ticket]Gurusamy Sarathy <gsar@activestate.com> writes:
This is definitely no bug. Rather, other systems are borken if they -- |
From @schwernGuru Sarathy was said to have uddered:
Did you mean 4302.gz? PS I confirm the glibc2 issue with glib-2.1.2 (Debian Linux Potato) -- Michael G Schwern schwern@pobox.com |
Migrated from rt.perl.org#1572 (status was 'resolved')
Searchable as RT1572$
The text was updated successfully, but these errors were encountered: