* libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
each fp. Let the function being called lock the fp, if necessary.
+2009-01-12 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
+ each fp. Let the function being called lock the fp, if necessary.
+
2009-01-07 Kazu Hirata <kazu@codesourcery.com>
* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
if (fp->_flags != 0)
{
- _flockfile (fp);
if (fp->_flags != 0 && fp->_file != -1)
ret |= (*function) (fp);
- _funlockfile (fp);
}
return ret;
for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
if (fp->_flags != 0)
{
- _flockfile (fp);
if (fp->_flags != 0 && fp->_file != -1)
ret |= (*reent_function) (ptr, fp);
- _funlockfile (fp);
}
return ret;