freebsd-dev/lib/libc/tests/stdio
Enji Cooper 7661ad590f Fix double fclose of fp1 when freopen fails
freopen handles closing file descriptors on error, with the exception of
fdopen'ed descriptors, so closing an already fclose'd file descriptor is
incorrect

CID: 1338525
Differential Revision: https://reviews.freebsd.org/D6013
MFC after: 2 weeks
Reported by: Coverity
Sponsored by: EMC / Isilon Storage Division
2016-04-20 00:19:04 +00:00
..
fdopen_test.c Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite 2015-11-08 06:37:50 +00:00
fmemopen2_test.c Make sure fmemopen succeeds in :test_append_binary_pos before calling ftell 2016-04-19 23:59:10 +00:00
fopen_test.c Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite 2015-11-08 06:37:50 +00:00
freopen_test.c Fix double fclose of fp1 when freopen fails 2016-04-20 00:19:04 +00:00
getdelim_test.c Delete bogus freeing of uninitialized data 2015-12-08 04:51:21 +00:00
Makefile First pass to fix the 'tests' packages. 2016-02-02 22:26:49 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
mkostemp_test.c Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite 2015-11-08 06:37:50 +00:00
open_memstream_test.c Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite 2015-11-08 06:37:50 +00:00
open_wmemstream_test.c Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite 2015-11-08 06:37:50 +00:00
perror_test.c Remove unused variables to fix building world 2015-11-15 12:48:42 +00:00
print_positional_test.c Convert print_positional_test over to ATF 2015-11-08 21:38:46 +00:00
printbasic_test.c Add missing va_ends for corresponding va_starts to clean up variable arguments 2015-12-08 04:45:44 +00:00
printfloat_test.c Add missing va_ends for corresponding va_starts to clean up variable arguments 2015-12-08 04:45:44 +00:00
scanfloat_test.c Remove unused variables to fix building world 2015-11-15 12:48:42 +00:00