X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-dup-safer.c;h=b71b6c3912ffe0dcf3e3a19dfefa23441baf3582;hb=3fdb706a2a7464a81025bfd07d06c867130f9f1f;hp=28f131772331b9ad9c73e277fe77faacfa9189e2;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-dup-safer.c b/tests/test-dup-safer.c index 28f131772..b71b6c391 100644 --- a/tests/test-dup-safer.c +++ b/tests/test-dup-safer.c @@ -38,9 +38,6 @@ # define setmode(f,m) zero () static int zero (void) { return 0; } #endif -#ifndef O_CLOEXEC -# define O_CLOEXEC 0 -#endif /* This test intentionally closes stderr. So, we arrange to have fd 10 (outside the range of interesting fd's during the test) set up to