1 --- funopen.c.bsdnew 2009-11-11 13:33:10.000000000 -0800
2 +++ funopen.c 2009-11-11 13:33:10.000000000 -0800
3 @@ -63,7 +63,8 @@ funopen(cookie, readfn, writefn, seekfn,
5 flags = __SRW; /* read-write */
7 - if ((fp = __sfp()) == NULL)
8 + /* funopen in not covered in SUSv3, so never count the streams */
9 + if ((fp = __sfp(0)) == NULL)