mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
42c810c2cf
Add tests of freopen adding or removing "c" (non-cancelling I/O) from the mode string (so completing my planned tests of freopen with different features used in the mode strings). Note that it's in the nature of the uncertain time at which cancellation might act (possibly during freopen, possibly during subsequent reads) that these can leak memory or file descriptors, so these do not include leak tests. Tested for x86_64.
3 lines
55 B
C
3 lines
55 B
C
#define FREOPEN freopen
|
|
#include <tst-freopen7-main.c>
|