1 --- funopen.c.orig 2009-02-15 03:11:22.000000000 -0800
2 +++ funopen.c 2009-02-15 14:02:06.000000000 -0800
3 @@ -67,7 +67,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)