diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-04-25 09:35:11 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-04-25 09:35:11 +0100 |
commit | 8e6497b6389d5f941931c119402888bdb9fc59fc (patch) | |
tree | 4eba68cacac7e0af63e437fb34df0cb8bd25a655 | |
parent | db4b3a1d2c56c299e29a8bc6aa4d010bf566e9fc (diff) | |
download | perl-8e6497b6389d5f941931c119402888bdb9fc59fc.tar.gz |
More defensive definition of memEQs().
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -404,7 +404,7 @@ C<strncmp>). #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) /* |