Change 30700 by [EMAIL PROTECTED] on 2007/03/22 22:21:54

        Can use memEQ instead of strnEQ in CHECK_WORD()

Affected files ...

... //depot/perl/regcomp.c#566 edit

Differences ...

==== //depot/perl/regcomp.c#566 (text) ====
Index: perl/regcomp.c
--- perl/regcomp.c#565~30678~   2007-03-22 02:01:37.000000000 -0700
+++ perl/regcomp.c      2007-03-22 15:21:54.000000000 -0700
@@ -4956,7 +4956,7 @@
 
 /* this idea is borrowed from STR_WITH_LEN in handy.h */
 #define CHECK_WORD(s,v,l)  \
-    (((sizeof(s)-1)==(l)) && (strnEQ(start_verb, (s ""), (sizeof(s)-1))))
+    (((sizeof(s)-1)==(l)) && (memEQ(start_verb, (s ""), (sizeof(s)-1))))
 
 STATIC regnode *
 S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp,U32 depth)
End of Patch.

Reply via email to