Change 31789 by [EMAIL PROTECTED] on 2007/09/04 08:00:07

        From: Jarkko Hietaniemi <[EMAIL PROTECTED]>
        Subject: Re: [Fwd: Smoke [5.9.5] 31775 FAIL(m) OSF1 V5.1 (EV6/4 cpu)]
        Message-ID: <[EMAIL PROTECTED]>
        Message-ID: <[EMAIL PROTECTED]>
        
        Add { } to keep all variable declarations at the start of blocks.

Affected files ...

... //depot/perl/reentr.c#33 edit
... //depot/perl/reentr.pl#54 edit

Differences ...

==== //depot/perl/reentr.c#33 (text+w) ====
Index: perl/reentr.c
--- perl/reentr.c#32~31765~     2007-08-30 06:49:14.000000000 -0700
+++ perl/reentr.c       2007-09-04 01:00:07.000000000 -0700
@@ -315,6 +315,7 @@
     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;
@@ -533,6 +534,7 @@
 #else
     PERL_UNUSED_ARG(f);
 #endif
+    }
     va_end(ap);
     return retptr;
 }

==== //depot/perl/reentr.pl#54 (text) ====
Index: perl/reentr.pl
--- perl/reentr.pl#53~31765~    2007-08-30 06:49:14.000000000 -0700
+++ perl/reentr.pl      2007-09-04 01:00:07.000000000 -0700
@@ -858,6 +858,7 @@
     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;
@@ -1076,6 +1077,7 @@
 #else
     PERL_UNUSED_ARG(f);
 #endif
+    }
     va_end(ap);
     return retptr;
 }
End of Patch.

Reply via email to