1 --- fdopen.c.bsdnew 2009-11-11 13:33:03.000000000 -0800
2 +++ fdopen.c 2009-11-11 13:33:04.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 @@ -78,7 +87,7 @@ fdopen(fd, mode)
23 - if ((fp = __sfp()) == NULL)
24 + if ((fp = __sfp(COUNT)) == NULL)