From ca81cd60ce99479828fefb3343267255fd47771c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 8 Apr 2003 21:19:33 +0000 Subject: * fhandler_console.cc (fhandler_console::read) Handle certain key up events, to allow pasting accented characters and typing them using the "alt + numerics" sequences. * include/limits.h (IOV_MAX): Set to a number which is small enough to use in an array. --- winsup/cygwin/include/limits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/include/limits.h') diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h index 78c475170..9fa3cf4fe 100644 --- a/winsup/cygwin/include/limits.h +++ b/winsup/cygwin/include/limits.h @@ -116,9 +116,9 @@ details. */ #define ULLONG_MAX (LLONG_MAX * 2ULL + 1) #endif -/* Maximum number of iovcnt in a writev */ +/* Maximum number of iovcnt in a writev (an arbitrary number) */ #undef IOV_MAX -#define IOV_MAX (__INT_MAX__-1) +#define IOV_MAX 1024 /* Maximum size of ssize_t */ #undef SSIZE_MAX -- cgit v1.2.3