]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/funopen.c.patch
Libc-825.24.tar.gz
[apple/libc.git] / stdio / FreeBSD / funopen.c.patch
diff --git a/stdio/FreeBSD/funopen.c.patch b/stdio/FreeBSD/funopen.c.patch
deleted file mode 100644 (file)
index b7edcfc..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- funopen.c.bsdnew   2009-11-11 13:33:10.000000000 -0800
-+++ funopen.c  2009-11-11 13:33:10.000000000 -0800
-@@ -63,7 +63,8 @@ funopen(cookie, readfn, writefn, seekfn,
-               else
-                       flags = __SRW;          /* read-write */
-       }
--      if ((fp = __sfp()) == NULL)
-+      /* funopen in not covered in SUSv3, so never count the streams */
-+      if ((fp = __sfp(0)) == NULL)
-               return (NULL);
-       fp->_flags = flags;
-       fp->_file = -1;