summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-06-14 20:00:12 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-06-14 20:00:12 +0000
commite06a3afbe255226c27f480b83177014c2fe65464 (patch)
treeed706100c5d841441c355193a9a27f9d28cc3d00 /perlio.c
parent4d3be0c7dd56140382c75663158705a0e4495245 (diff)
downloadperl-e06a3afbe255226c27f480b83177014c2fe65464.tar.gz
Steps along the road toward Win32 building again.
p4raw-id: //depot/perlio@10591
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 242aa711a3..ac5ace88db 100644
--- a/perlio.c
+++ b/perlio.c
@@ -393,8 +393,10 @@ PerlIO_list_push(PerlIO_list_t *list,PerlIO_funcs *funcs,SV *arg)
}
p = &(list->array[list->cur++]);
p->funcs = funcs;
- if ((p->arg = arg))
+ if ((p->arg = arg)) {
+ dTHX;
SvREFCNT_inc(arg);
+ }
}
@@ -4015,3 +4017,4 @@ PerlIO_sprintf(char *s, int n, const char *fmt,...)
+