summaryrefslogtreecommitdiffstats
path: root/gcc45-java-FIONREAD.diff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 00:42:10 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 00:42:10 -0500
commit6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb (patch)
treed5cf1b3104dfc411c45a8c1a4a4251a0fbd6818b /gcc45-java-FIONREAD.diff
parent40a0a60a27a65867bc1a97def6fe946ac10b091c (diff)
downloadcygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.tar.gz
cygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.tar.xz
cygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.zip
cygwin-gcc 4.9.2-1
Diffstat (limited to 'gcc45-java-FIONREAD.diff')
-rw-r--r--gcc45-java-FIONREAD.diff13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc45-java-FIONREAD.diff b/gcc45-java-FIONREAD.diff
deleted file mode 100644
index 3086e1b..0000000
--- a/gcc45-java-FIONREAD.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35536
-
---- origsrc/gcc-4.5.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc 2007-04-02 20:05:50.000000000 -0500
-+++ src/gcc-4.5.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc 2010-10-27 13:39:34.044718100 -0500
-@@ -386,7 +386,7 @@ FileChannelImpl::available (void)
-
- #if defined (FIONREAD)
- r = ::ioctl (fd, FIONREAD, &num);
-- if (r == -1 && errno == ENOTTY)
-+ if (r == -1 && (errno == ENOTTY || errno == EINVAL))
- {
- // If the ioctl doesn't work, we don't care.
- r = 0;