Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/wcsspn.c')
-rw-r--r--newlib/libc/string/wcsspn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/string/wcsspn.c b/newlib/libc/string/wcsspn.c
index f0b2fb99f..b54804c45 100644
--- a/newlib/libc/string/wcsspn.c
+++ b/newlib/libc/string/wcsspn.c
@@ -75,6 +75,7 @@ _DEFUN (wcsspn, (s, set),
{
if (*p == *q)
break;
+ q++;
}
if (!*q)
goto done;