From: Nicholas Clark Date: Sun, 25 Apr 2010 08:35:11 +0000 (+0100) Subject: More defensive definition of memEQs(). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e6497b6389d5f941931c119402888bdb9fc59fc;p=p5sagit%2Fp5-mst-13.2.git More defensive definition of memEQs(). --- diff --git a/handy.h b/handy.h index 1ff7fde..b40deba 100644 --- a/handy.h +++ b/handy.h @@ -404,7 +404,7 @@ C). #endif #define memEQs(s1, l, s2) \ - (sizeof(s2)-1 == l && memEQ(s1, (s2 ""), (sizeof(s2)-1))) + (sizeof(s2)-1 == l && memEQ(s1, ("" s2 ""), (sizeof(s2)-1))) #define memNEs(s1, l, s2) !memEQs(s1, l, s2) /*