summaryrefslogtreecommitdiffstats
path: root/0004-Cygwin-ioctl-may-emit-EINVAL.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-02-21 18:56:00 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2016-02-21 18:56:00 -0600
commit2426323bbdcaf8d5904f1f243bb2a5066dd21c8a (patch)
tree21ab325f116ab50e84ac20a77bbaf569eb56a469 /0004-Cygwin-ioctl-may-emit-EINVAL.patch
parentd9caede9a622bfa41c984c4685a7b185421c96d7 (diff)
downloadcygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.tar.gz
cygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.tar.xz
cygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.zip
cygwin-gcc 5.3.0
Diffstat (limited to '0004-Cygwin-ioctl-may-emit-EINVAL.patch')
-rw-r--r--0004-Cygwin-ioctl-may-emit-EINVAL.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/0004-Cygwin-ioctl-may-emit-EINVAL.patch b/0004-Cygwin-ioctl-may-emit-EINVAL.patch
index ff14e3f..e46d4aa 100644
--- a/0004-Cygwin-ioctl-may-emit-EINVAL.patch
+++ b/0004-Cygwin-ioctl-may-emit-EINVAL.patch
@@ -1,7 +1,7 @@
-From 4c3499c1009f7051d76ba8b603fdeaa510e5c650 Mon Sep 17 00:00:00 2001
+From f590da14fcd201f8f2a1538523a6cfc279861842 Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Sat, 28 Jun 2014 08:37:16 +0800
-Subject: [PATCH 04/24] Cygwin ioctl may emit EINVAL
+Subject: [PATCH 04/21] Cygwin ioctl may emit EINVAL
On Cygwin (on X86) ioctl on FIONREAD returns EINVAL on the errno variable instead of ENOTTY
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35536
@@ -23,5 +23,5 @@ index e05904c..0a2569c 100644
// If the ioctl doesn't work, we don't care.
r = 0;
--
-2.1.1
+2.4.5