[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tweak test-dup2
From: |
Bruno Haible |
Subject: |
Re: tweak test-dup2 |
Date: |
Tue, 25 Aug 2009 01:15:35 +0200 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> +2009-08-24 Eric Blake <address@hidden>
> +
> + 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