Browse Source

2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>


			
			
				gdb_6_4-branch
			
			
		
Jeff Johnston 21 years ago
parent
commit
88540e248e
  1. 6
      newlib/ChangeLog
  2. 1
      newlib/libc/string/wcsspn.c

6
newlib/ChangeLog

@ -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>
* 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
the same pointer twice may cause a crash.

1
newlib/libc/string/wcsspn.c

@ -75,6 +75,7 @@ _DEFUN (wcsspn, (s, set),
{
if (*p == *q)
break;
q++;
}
if (!*q)
goto done;

Loading…
Cancel
Save