projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fe441
)
(_IO_fwide): Don't reset file position to beginning of file, really get current position.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 15 Aug 2001 18:40:16 +0000
(18:40 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 15 Aug 2001 18:40:16 +0000
(18:40 +0000)
libio/iofwide.c
patch
|
blob
|
history
diff --git
a/libio/iofwide.c
b/libio/iofwide.c
index 88d2d5e56315844e798e89b28e5605672d561a91..dba55f59da3f10e99719915a957688187f72b7f3 100644
(file)
--- a/
libio/iofwide.c
+++ b/
libio/iofwide.c
@@
-206,7
+206,7
@@
_IO_fwide (fp, mode)
char streams have much more problems with not knowing the
current position and so we should disable the optimization
which allows the functions without knowing the position. */
- fp->_offset = _IO_SYSSEEK (fp, 0,
0
);
+ fp->_offset = _IO_SYSSEEK (fp, 0,
_IO_seek_cur
);
}
/* Set the mode now. */