summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-05-31 10:54:55 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-05-31 10:54:55 +0000
commit43c11ae32f2c63853f6dad68c06fa62b85a197d6 (patch)
tree94d1e1bc35f7cfdf0e5b341afc7a762e193f32d2 /perlio.c
parent7bcba3d466361ea9f039c4197851bf699e60ac75 (diff)
downloadperl-43c11ae32f2c63853f6dad68c06fa62b85a197d6.tar.gz
Hack to restore Win32 pseudo fork broken by Multiple Interpreter
perlio.c change 10255. p4raw-id: //depot/perlio@10346
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index f0728baac4..6dec0c6f77 100644
--- a/perlio.c
+++ b/perlio.c
@@ -3614,7 +3614,9 @@ void
PerlIO_init(void)
{
dTHX;
+#ifndef WIN32
call_atexit(PerlIO_cleanup_layers, NULL);
+#endif
if (!_perlio)
{
#ifndef WIN32