Revert #11973, the dTHX seems to be needed in there
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 10 Sep 2001 12:59:40 +0000 (12:59 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 10 Sep 2001 12:59:40 +0000 (12:59 +0000)
for threaded builds.

p4raw-id: //depot/perl@11978

perlio.c

index cef9efe..549a187 100644 (file)
--- a/perlio.c
+++ b/perlio.c
@@ -407,6 +407,7 @@ PerlIO_list_free(PerlIO_list_t *list)
 void
 PerlIO_list_push(PerlIO_list_t *list,PerlIO_funcs *funcs,SV *arg)
 {
+ dTHX;
  PerlIO_pair_t *p;
  if (list->cur >= list->len)
   {