diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-28 14:26:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-28 14:26:13 +0000 |
commit | 76549fefd07754d43beb1146d96596a36d02db09 (patch) | |
tree | ea078d0eacdb3183bd90343489371f62acdbc363 /perl.h | |
parent | 72f792197f5d5f01dd5b3814e32e714ba8952f06 (diff) | |
download | perl-76549fefd07754d43beb1146d96596a36d02db09.tar.gz |
For PerlIO flush the children's file handles (on fork/exec/system).
p4raw-id: //depot/perl@9894
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1842,10 +1842,12 @@ typedef pthread_key_t perl_key; #endif /* This defines a way to flush all output buffers. This may be a - * performance issue, so we allow people to disable it. + * performance issue, so we allow people to disable it. Also, if + * we are using stdio, there are broken implementations of fflush(NULL) + * out there, Solaris being the most prominent. */ #ifndef PERL_FLUSHALL_FOR_CHILD -# if defined(FFLUSH_NULL) || defined(USE_SFIO) +# if defined(USE_PERLIO) || defined(FFLUSH_NULL) || defined(USE_SFIO) # define PERL_FLUSHALL_FOR_CHILD PerlIO_flush((PerlIO*)NULL) # else # ifdef FFLUSH_ALL |