Loading...
stdio/FreeBSD/ftell.c.patch Libc-763.13 Libc-391.4.2
--- Libc/Libc-763.13/stdio/FreeBSD/ftell.c.patch
+++ Libc/Libc-391.4.2/stdio/FreeBSD/ftell.c.patch
@@ -1,11 +1,10 @@
---- ftell.c.bsdnew	2009-11-11 13:33:10.000000000 -0800
-+++ ftell.c	2009-11-11 13:33:10.000000000 -0800
-@@ -101,6 +101,8 @@ _ftello(fp, offset)
+--- ftell.c.orig	Tue May 20 15:22:42 2003
++++ ftell.c	Tue May 25 13:14:32 2004
+@@ -105,6 +105,7 @@
  	 * Find offset of underlying I/O object, then
  	 * adjust for buffered bytes.
  	 */
-+	if (__sflush(fp))		/* may adjust seek offset on append stream */
-+		return (1);
++	__sflush(fp);		/* may adjust seek offset on append stream */
  	if (fp->_flags & __SOFF)
  		pos = fp->_offset;
  	else {