Return EBADF if the fp passed in is NULL. Problem pointed out by Joe Greco.
authorDavid Greenman <davidg@Root.COM>
Fri, 17 Jun 1994 16:29:56 +0000 (16:29 +0000)
committerDavid Greenman <davidg@Root.COM>
Fri, 17 Jun 1994 16:29:56 +0000 (16:29 +0000)
commita09c7b570267150eb11630858eb4ee3eb33d7190
treec2ad6a6e992bf7b0b81a113a3e554cb88783ed66
parent4ce7e160f0ff0507daa467d34f65d64d43787ac1
Return EBADF if the fp passed in is NULL. Problem pointed out by Joe Greco.
lib/libc/stdio/fclose.c