]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/fopen.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / stdio / FreeBSD / fopen.c.patch
index a6542f332b1fc284b2547f8f43c0ea018fb7bcb5..cd254a889cd6219f9385c914192795d0989d0179 100644 (file)
@@ -1,6 +1,6 @@
---- 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 @@
+--- 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 @@
   * 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 */
-@@ -61,10 +70,10 @@ fopen(file, mode)
+@@ -59,10 +68,10 @@ fopen(file, mode)
  
        if ((flags = __sflags(mode, &oflags)) == 0)
                return (NULL);
@@ -28,4 +28,4 @@
 +              __sfprelease(fp);               /* release */
                return (NULL);
        }
-       fp->_file = f;
+       /*