projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
dedcbb8
)
avoid coredump on diagnostics when STDERR is closed
Gurusamy Sarathy [Thu, 16 Dec 1999 08:26:00 +0000 (08:26 +0000)]
p4raw-id: //depot/perl@4680
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
dc72ffe
..
8a6505e
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-1868,6
+1868,7
@@
Gid_t getegid (void);
#ifndef Perl_error_log
# define Perl_error_log (PL_stderrgv \
+ && IoOFP(GvIOp(PL_stderrgv)) \
? IoOFP(GvIOp(PL_stderrgv)) \
: PerlIO_stderr())
#endif