[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Avoid cygwin dup2 bugs
From: |
Eric Blake |
Subject: |
[PATCH 0/2] Avoid cygwin dup2 bugs |
Date: |
Thu, 26 Sep 2013 12:38:32 -0600 |
These patches make it so that 'test-dup2' again passes on current
cygwin, while waiting for a new release of cygwin that fixes the
off-by-one crash and non-compliance of resource soft limits.
Eric Blake (2):
getdtablesize: work around cygwin issue
dup2, dup3: work around another cygwin crasher
ChangeLog | 21 ++++++++++++++++++++
doc/glibc-functions/dup3.texi | 4 +++
doc/glibc-functions/getdtablesize.texi | 5 ++++
doc/posix-functions/dup2.texi | 4 +++
lib/dup2.c | 4 +++
lib/dup3.c | 4 +++
lib/getdtablesize.c | 33 ++++++++++++++++++++++++++-----
lib/unistd.in.h | 13 ++++++++++-
m4/dup2.m4 | 7 ++++-
m4/dup3.m4 | 4 +-
m4/getdtablesize.m4 | 31 ++++++++++++++++++++++++++++-
m4/unistd_h.m4 | 3 +-
modules/getdtablesize | 5 ++-
modules/unistd | 1 +
tests/test-dup2.c | 7 ++++++
tests/test-dup3.c | 7 ++++++
tests/test-getdtablesize.c | 2 +
17 files changed, 138 insertions(+), 17 deletions(-)