summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-04 16:24:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-04 16:24:24 +0000
commit9bb8fa4d8ccca8c2de391a370dd92749d7f09354 (patch)
treeaf87cfb1669a2df2d928d2db68567cf6a6a02098 /win32
parent80814d4c448093ff1bbffc8303aa2b382c1caa70 (diff)
parentf199104684ce3695f33e22530039c0b087f1a163 (diff)
downloadperl-9bb8fa4d8ccca8c2de391a370dd92749d7f09354.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@6305
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/win32/win32.c b/win32/win32.c
index b4ad80cf48..a05a3fe8a6 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4055,6 +4055,18 @@ Perl_sys_intern_init(pTHX)
w32_init_socktype = 0;
}
+void
+Perl_sys_intern_clear(pTHX)
+{
+ Safefree(w32_perlshell_tokens);
+ Safefree(w32_perlshell_vec);
+ /* NOTE: w32_fdpid is freed by sv_clean_all() */
+ Safefree(w32_children);
+# ifdef USE_ITHREADS
+ Safefree(w32_pseudo_children);
+# endif
+}
+
# ifdef USE_ITHREADS
void
@@ -4069,18 +4081,6 @@ Perl_sys_intern_dup(pTHX_ struct interp_intern *src, struct interp_intern *dst)
Newz(1313, dst->pseudo_children, 1, child_tab);
dst->thr_intern.Winit_socktype = src->thr_intern.Winit_socktype;
}
-
-void
-Perl_sys_intern_clear(pTHX)
-{
- Safefree(w32_perlshell_tokens);
- Safefree(w32_perlshell_vec);
- /* NOTE: w32_fdpid is freed by sv_clean_all() */
- Safefree(w32_children);
-# ifdef USE_ITHREADS
- Safefree(w32_pseudo_children);
-# endif
-}
# endif /* USE_ITHREADS */
#endif /* HAVE_INTERP_INTERN */