Change 34728 by [EMAIL PROTECTED] on 2008/11/04 22:11:35

        Integrate:
        [ 34719]
        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.8/perl/handy.h#63 integrate

Differences ...

==== //depot/maint-5.8/perl/handy.h#63 (text) ====
Index: perl/handy.h
--- perl/handy.h#62~34718~      2008-11-04 01:38:17.000000000 -0800
+++ perl/handy.h        2008-11-04 14:11:35.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