diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-07-08 18:28:46 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-07-08 18:28:46 +0000 |
commit | 88540e248e68388fdea438e7b64e9e63f2ad5dcf (patch) | |
tree | c35d83ebd8972f3d581dba247d91e9893df1d74e /newlib/libc/string | |
parent | 2413281e1366c9e353a7530da520f24cd7df4a32 (diff) | |
download | cygnal-88540e248e68388fdea438e7b64e9e63f2ad5dcf.tar.gz cygnal-88540e248e68388fdea438e7b64e9e63f2ad5dcf.tar.bz2 cygnal-88540e248e68388fdea438e7b64e9e63f2ad5dcf.zip |
2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
Diffstat (limited to 'newlib/libc/string')
-rw-r--r-- | newlib/libc/string/wcsspn.c | 1 |
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; |