2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
* libc/stdio/fseek.c (fseek): Fix braces.
This commit is contained in:
parent
1fd072b6e4
commit
30a0616840
@ -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>
|
2002-06-21 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/time/strftime.c (strftime): Add %e format specifier.
|
* libc/time/strftime.c (strftime): Add %e format specifier.
|
||||||
|
@ -141,9 +141,11 @@ fseek (fp, offset, whence)
|
|||||||
{
|
{
|
||||||
curoff = (*seekfn) (fp->_cookie, (fpos_t) 0, SEEK_CUR);
|
curoff = (*seekfn) (fp->_cookie, (fpos_t) 0, SEEK_CUR);
|
||||||
if (curoff == -1L)
|
if (curoff == -1L)
|
||||||
|
{
|
||||||
_funlockfile(fp);
|
_funlockfile(fp);
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (fp->_flags & __SRD)
|
if (fp->_flags & __SRD)
|
||||||
{
|
{
|
||||||
curoff -= fp->_r;
|
curoff -= fp->_r;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user