This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4b3a1
)
More defensive definition of memEQs().
author
Nicholas Clark
<nick@ccl4.org>
Sun, 25 Apr 2010 08:35:11 +0000
(09:35 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Sun, 25 Apr 2010 08:35:11 +0000
(09:35 +0100)
handy.h
patch
|
blob
|
blame
|
history
diff --git
a/handy.h
b/handy.h
index
1ff7fde
..
b40deba
100644
(file)
--- a/
handy.h
+++ b/
handy.h
@@
-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)
/*