projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
db4b3a1
)
More defensive definition of memEQs().
Nicholas Clark [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)
/*