1 --- fdopen.c.orig 2009-02-15 03:11:22.000000000 -0800
2 +++ fdopen.c 2009-02-15 17:52:46.000000000 -0800
7 +#ifdef VARIANT_DARWINEXTSN
8 +#define _DARWIN_UNLIMITED_STREAMS
10 +#elif defined(VARIANT_LEGACY)
16 #if defined(LIBC_SCCS) && !defined(lint)
17 static char sccsid[] = "@(#)fdopen.c 8.1 (Berkeley) 6/4/93";
18 #endif /* LIBC_SCCS and not lint */
19 @@ -73,7 +82,7 @@ fdopen(fd, mode)
23 - if ((fp = __sfp()) == NULL)
24 + if ((fp = __sfp(COUNT)) == NULL)