summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-10 19:33:54 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-10 19:33:54 +0000
commitb5ae313ab59b7098d554245f60e969d305c03616 (patch)
treea54329bb55765e9ed5c940f4c4ef598d25681238 /winsup/cygwin/fhandler.cc
parentb58f5598cbc77801bdbcc1de4d2fe0027fb68493 (diff)
downloadcygnal-b5ae313ab59b7098d554245f60e969d305c03616.tar.gz
cygnal-b5ae313ab59b7098d554245f60e969d305c03616.tar.bz2
cygnal-b5ae313ab59b7098d554245f60e969d305c03616.zip
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 46fb51e35..5e84dd57e 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -13,6 +13,7 @@ details. */
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
static NO_COPY const int CHUNK_SIZE = 1024; /* Used for crlf conversions */