Loading...
--- Libc/Libc-763.13/stdio/FreeBSD/fopen.c.patch
+++ Libc/Libc-594.9.4/stdio/FreeBSD/fopen.c.patch
@@ -1,6 +1,6 @@
---- fopen.c.bsdnew 2009-11-11 13:33:07.000000000 -0800
-+++ fopen.c 2009-11-11 13:33:07.000000000 -0800
-@@ -30,6 +30,15 @@
+--- fopen.c.orig 2009-02-15 03:11:22.000000000 -0800
++++ fopen.c 2009-02-15 17:53:37.000000000 -0800
+@@ -34,6 +34,15 @@
* SUCH DAMAGE.
*/
@@ -16,7 +16,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fopen.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-@@ -59,10 +68,10 @@ fopen(file, mode)
+@@ -61,10 +70,10 @@ fopen(file, mode)
if ((flags = __sflags(mode, &oflags)) == 0)
return (NULL);
@@ -28,4 +28,4 @@
+ __sfprelease(fp); /* release */
return (NULL);
}
- /*
+ fp->_file = f;