Browse Source

2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>

* libc/stdio/fseek.c (fseek): Fix braces.
unlabeled-1.50.2
Thomas Fitzsimmons 24 years ago
parent
commit
30a0616840
  1. 4
      newlib/ChangeLog
  2. 2
      newlib/libc/stdio/fseek.c

4
newlib/ChangeLog

@ -1,3 +1,7 @@
2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
* libc/stdio/fseek.c (fseek): Fix braces.
2002-06-21 Corinna Vinschen <corinna@vinschen.de>
* libc/time/strftime.c (strftime): Add %e format specifier.

2
newlib/libc/stdio/fseek.c

@ -141,9 +141,11 @@ fseek (fp, offset, whence)
{
curoff = (*seekfn) (fp->_cookie, (fpos_t) 0, SEEK_CUR);
if (curoff == -1L)
{
_funlockfile(fp);
return EOF;
}
}
if (fp->_flags & __SRD)
{
curoff -= fp->_r;

Loading…
Cancel
Save