1 --- ftell.c.bsdnew 2009-11-11 13:33:10.000000000 -0800
2 +++ ftell.c 2009-11-11 13:33:10.000000000 -0800
3 @@ -101,6 +101,8 @@ _ftello(fp, offset)
4 * Find offset of underlying I/O object, then
5 * adjust for buffered bytes.
7 + if (__sflush(fp)) /* may adjust seek offset on append stream */
9 if (fp->_flags & __SOFF)