mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
*** empty log message ***
Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * stdio/fseek.c (fseek): Don't assume we know the file position; other handles may have changed it. So set STREAM.__offset to -1 before calling __stdio_check_offset to make sure we have a correct value.
This commit is contained in:
parent
14bab8de31
commit
9607dca3f4
@ -1,3 +1,10 @@
|
|||||||
|
Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* stdio/fseek.c (fseek): Don't assume we know the file position;
|
||||||
|
other handles may have changed it. So set STREAM.__offset to -1
|
||||||
|
before calling __stdio_check_offset to make sure we have a correct
|
||||||
|
value.
|
||||||
|
|
||||||
Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
|
Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* stdio-common/printf_fp.c (__printf_fp): Use default value `.` if
|
* stdio-common/printf_fp.c (__printf_fp): Use default value `.` if
|
||||||
|
@ -42,6 +42,7 @@ DEFUN(fseek, (stream, offset, whence),
|
|||||||
return EOF;
|
return EOF;
|
||||||
|
|
||||||
/* Make sure we know the current offset info. */
|
/* Make sure we know the current offset info. */
|
||||||
|
stream.__offset = -1;
|
||||||
if (__stdio_check_offset (stream) == EOF)
|
if (__stdio_check_offset (stream) == EOF)
|
||||||
return EOF;
|
return EOF;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user