Re: tweak test-dup2

2009-08-24 Thread Eric Blake
Bruno Haible bruno at clisp.org writes: Let me know if you find these tweaks unreasonable. The first hunk is to ensure that even if a non-empty test-dup2.tmp existed before the test, it will not disturb the test. Looks good to me. Unfortunately... + errno = 0; + ASSERT (dup2 (fd,

Re: tweak test-dup2

2009-08-24 Thread Bruno Haible
Eric Blake wrote: +2009-08-24 Eric Blake e...@byu.net + + dup2, pipe2: fix some recent test failures on cygwin 1.5.x + * lib/pipe2.c (includes): Add binary-io.h. + * lib/dup2.c (rpl_dup2): Correct buggy errno value. + This is fine. You have green light. Thanks. + errno =

tweak test-dup2

2009-08-23 Thread Bruno Haible
Eric, Let me know if you find these tweaks unreasonable. The first hunk is to ensure that even if a non-empty test-dup2.tmp existed before the test, it will not disturb the test. 2009-08-23 Bruno Haible br...@clisp.org Tweak the dup2 test. * tests/test-dup2.c (main): Create