2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
This commit is contained in:
parent
2413281e13
commit
88540e248e
@ -1,6 +1,10 @@
|
|||||||
|
2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
|
||||||
|
|
||||||
|
* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
|
||||||
|
|
||||||
2005-07-07 Shaun Jackman <sjackman@gmail.com>
|
2005-07-07 Shaun Jackman <sjackman@gmail.com>
|
||||||
|
|
||||||
* newlib/libc/unix/ttyname.c (ttyname): Avoid calling _closedir
|
* libc/unix/ttyname.c (ttyname): Avoid calling _closedir
|
||||||
twice for the same directory. _closedir calls free, and freeing
|
twice for the same directory. _closedir calls free, and freeing
|
||||||
the same pointer twice may cause a crash.
|
the same pointer twice may cause a crash.
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ _DEFUN (wcsspn, (s, set),
|
|||||||
{
|
{
|
||||||
if (*p == *q)
|
if (*p == *q)
|
||||||
break;
|
break;
|
||||||
|
q++;
|
||||||
}
|
}
|
||||||
if (!*q)
|
if (!*q)
|
||||||
goto done;
|
goto done;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user