summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-11-07 12:12:29 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-11-07 12:12:29 +0000
commit4f3da17a993846b4efaf37437bea7db81f0a7a77 (patch)
tree006f2544e16e4116a8d1b19e8dcbb2f7b59d448c
parentaffddad4a362e52a59118d6b0e80c83e34b95a13 (diff)
downloadperl-4f3da17a993846b4efaf37437bea7db81f0a7a77.tar.gz
Disable debugging output in PerlIO_teardown;
it still relies on an interpreter being present. p4raw-id: //depot/perl@32235
-rw-r--r--perlio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 966894c5d0..76fe22548c 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2416,6 +2416,12 @@ PerlIO_cleanup(pTHX)
void PerlIO_teardown() /* Call only from PERL_SYS_TERM(). */
{
dVAR;
+#if 0
+/* XXX we can't rely on an interpreter being present at this late stage,
+ XXX so we can't use a function like PerlLIO_write that relies on one
+ being present (at least in win32) :-(.
+ Disable for now.
+*/
#ifdef DEBUGGING
{
/* By now all filehandles should have been closed, so any
@@ -2436,6 +2442,7 @@ void PerlIO_teardown() /* Call only from PERL_SYS_TERM(). */
}
}
#endif
+#endif
/* Not bothering with PL_perlio_mutex since by now
* all the interpreters are gone. */
if (PL_perlio_fd_refcnt_size /* Assuming initial size of zero. */