aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-02-06 18:05:30 -0500
committerJukka Jylänki <jujjyl@gmail.com>2014-02-06 18:05:30 -0500
commit25fcd51cd5c5f06fbfba6c07b00904e32c440b87 (patch)
tree56f5a8a59745c49a9b4f81298ce2b42858115c34
parent1df678f09958e9f8f8fcd386ed200540b9702cc4 (diff)
Revert strcmp.c to musl v0.9.13 so that the versions in this pull request match the ones that waywardmonkeys has pushed in earlier.
-rw-r--r--system/lib/libc/musl/src/string/strcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/libc/musl/src/string/strcmp.c b/system/lib/libc/musl/src/string/strcmp.c
index 808bd837..91eb7404 100644
--- a/system/lib/libc/musl/src/string/strcmp.c
+++ b/system/lib/libc/musl/src/string/strcmp.c
@@ -2,6 +2,6 @@
int strcmp(const char *l, const char *r)
{
- for (; *l==*r && *l; l++, r++);
+ for (; *l==*r && *l && *r; l++, r++);
return *(unsigned char *)l - *(unsigned char *)r;
}