diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-06-14 20:00:12 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-06-14 20:00:12 +0000 |
commit | e06a3afbe255226c27f480b83177014c2fe65464 (patch) | |
tree | ed706100c5d841441c355193a9a27f9d28cc3d00 /perlio.c | |
parent | 4d3be0c7dd56140382c75663158705a0e4495245 (diff) | |
download | perl-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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,...) + |