Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-04-09 01:19:33 +0400
committerChristopher Faylor <me@cgf.cx>2003-04-09 01:19:33 +0400
commitca81cd60ce99479828fefb3343267255fd47771c (patch)
treef1842d856221f8664ebe7abffe27083e1d8fa5ec /winsup/cygwin/include/limits.h
parente3501c78cad9d0a94e9004d4cfc40fe3c783549f (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/include/limits.h')
-rw-r--r--winsup/cygwin/include/limits.h4
1 files changed, 2 insertions, 2 deletions
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