diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2007-08-29 17:04:53 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-08-30 13:49:14 +0000 |
commit | fe5bfecd71ca735f83568f7bc2b9f22cc82e3d61 (patch) | |
tree | 1fbf396647db987f0166de4ee32bf04f3c6c5c25 /reentr.c | |
parent | 0cb1540ad85637e5abb7372876a8c85c855a7427 (diff) | |
download | perl-fe5bfecd71ca735f83568f7bc2b9f22cc82e3d61.tar.gz |
misc blead stuff
Message-ID: <46D617B5.3000002@iki.fi>
p4raw-id: //depot/perl@31765
Diffstat (limited to 'reentr.c')
-rw-r--r-- | reentr.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -313,6 +313,8 @@ Perl_reentrant_retry(const char *f, ...) { dTHX; void *retptr = NULL; + va_list ap; + va_start(ap, f); #ifdef USE_REENTRANT_API # if defined(USE_HOSTENT_BUFFER) || defined(USE_GRENT_BUFFER) || defined(USE_NETENT_BUFFER) || defined(USE_PWENT_BUFFER) || defined(USE_PROTOENT_BUFFER) || defined(USE_SERVENT_BUFFER) void *p0; @@ -326,9 +328,6 @@ Perl_reentrant_retry(const char *f, ...) # if defined(USE_HOSTENT_BUFFER) || defined(USE_NETENT_BUFFER) || defined(USE_PROTOENT_BUFFER) || defined(USE_SERVENT_BUFFER) int anint; # endif - va_list ap; - - va_start(ap, f); switch (PL_op->op_type) { #ifdef USE_HOSTENT_BUFFER @@ -531,11 +530,10 @@ Perl_reentrant_retry(const char *f, ...) /* Not known how to retry, so just fail. */ break; } - - va_end(ap); #else PERL_UNUSED_ARG(f); #endif + va_end(ap); return retptr; } |