]> git.saurik.com Git - apple/libc.git/blob - stdio/FreeBSD/ftell.c.patch
Libc-391.4.1.tar.gz
[apple/libc.git] / stdio / FreeBSD / ftell.c.patch
1 --- ftell.c.orig Tue May 20 15:22:42 2003
2 +++ ftell.c Tue May 25 13:14:32 2004
3 @@ -105,6 +105,7 @@
4 * Find offset of underlying I/O object, then
5 * adjust for buffered bytes.
6 */
7 + __sflush(fp); /* may adjust seek offset on append stream */
8 if (fp->_flags & __SOFF)
9 pos = fp->_offset;
10 else {