Change 34719 by [EMAIL PROTECTED] on 2008/11/04 10:13:27

        Integrate:
        [ 34712]
        The breakage caused by #34653 (sh|c)ould have been detected
        by the compiler. So further improve the STR_WITH_LEN() macro.

Affected files ...

... //depot/maint-5.10/perl/handy.h#8 integrate

Differences ...

==== //depot/maint-5.10/perl/handy.h#8 (text) ====
Index: perl/handy.h
--- perl/handy.h#7~34707~       2008-11-03 11:50:31.000000000 -0800
+++ perl/handy.h        2008-11-04 02:13:27.000000000 -0800
@@ -279,7 +279,7 @@
 */
 
 /* concatenating with "" ensures that only literal strings are accepted as 
argument */
-#define STR_WITH_LEN(s)  (s ""), (sizeof(s)-1)
+#define STR_WITH_LEN(s)  ("" s ""), (sizeof(s)-1)
 
 /* note that STR_WITH_LEN() can't be used as argument to macros or functions 
that
  * under some configurations might be macros, which means that it requires the 
full
End of Patch.

Reply via email to