Change 34712 by [EMAIL PROTECTED] on 2008/11/03 22:25:09

        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/perl/handy.h#158 edit

Differences ...

==== //depot/perl/handy.h#158 (text) ====
Index: perl/handy.h
--- perl/handy.h#157~34694~     2008-11-02 08:50:12.000000000 -0800
+++ perl/handy.h        2008-11-03 14:25:09.000000000 -0800
@@ -301,7 +301,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