projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(jm_LIB_CHECK): Use []-quoted list in
[gnulib.git]
/
lib
/
strcasecmp.c
diff --git
a/lib/strcasecmp.c
b/lib/strcasecmp.c
index
0ae9627
..
ae7601d
100644
(file)
--- a/
lib/strcasecmp.c
+++ b/
lib/strcasecmp.c
@@
-51,11
+51,14
@@
STRXCASECMP_FUNCTION (const char *s1, const char *s2 STRXCASECMP_DECLARE_N)
do
{
do
{
- c1 = TOLOWER (*p1
++
);
- c2 = TOLOWER (*p2
++
);
+ c1 = TOLOWER (*p1);
+ c2 = TOLOWER (*p2);
if (LENGTH_LIMIT_EXPR (--n == 0) || c1 == '\0')
break;
if (LENGTH_LIMIT_EXPR (--n == 0) || c1 == '\0')
break;
+
+ ++p1;
+ ++p2;
}
while (c1 == c2);
}
while (c1 == c2);