Eric Blake wrote: > +2009-08-24 Eric Blake <[email protected]> > + > + 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 = 0; > > + ASSERT (dup2 (fd, 10000000) == -1); > > + ASSERT (errno == EBADF); > > ...this test exposes a bug on cygwin 1.5.x Let's see whether the bug is also present on other Unix platforms... Bruno
