[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dup2 mingw failure
From: |
Simon Josefsson |
Subject: |
dup2 mingw failure |
Date: |
Fri, 08 Jan 2010 10:36:13 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
I got this on MinGW:
test-dup2.c:140: assertion failed
FAIL: test-dup2.exe
The relevant code is:
/* The destination must be valid. */
errno = 0;
ASSERT (dup2 (fd, -2) == -1);
Debugging this, it seems MinGW dup2 returns -2 in this situation. Any
ideas? Is -2 a valid file descriptor on MinGW for some reason?
/Simon
- dup2 mingw failure,
Simon Josefsson <=
- Re: dup2 mingw failure, Eric Blake, 2010/01/08
- Re: dup2 mingw failure, Simon Josefsson, 2010/01/08
- another dup2 mingw failure, Simon Josefsson, 2010/01/09
- Re: another dup2 mingw failure, Eric Blake, 2010/01/09
- Re: Wine conditional, Bruno Haible, 2010/01/09
- Re: another dup2 mingw failure, Simon Josefsson, 2010/01/11
- Re: another dup2 mingw failure, Simon Josefsson, 2010/01/12