summaryrefslogtreecommitdiff
path: root/libc/stdio/scanf.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-25 22:11:29 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-25 22:11:29 +0000
commit7ceb5c35f2a2a63d3bd14254b8cfd1493298d6ec (patch)
tree772f71448d27ebcc028da4f65b368d623119fee4 /libc/stdio/scanf.c
parent9a1eb39a6018cdf98de8518a9dd68c67098b6dcb (diff)
Changed fclose behavior when custom streams were enabled. Previously,
the cookie pointer was set to NULL as a debugging aid. However, some of the perl 5.8 test rely on being able to close stderr and still try writing to it. So now, the cookie pointer and handler function pointers are set to that it is a "normal" file with a file descriptor of -1. Note: The cookie pointer is reset to NULL if the FILE struct is free'd by fclose.
Diffstat (limited to 'libc/stdio/scanf.c')
0 files changed, 0 insertions, 0 deletions