summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygheap.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-05 01:55:01 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-05 01:55:01 +0000
commitc6f53ff6bedce72a721f71645cd32d2805ba1a3b (patch)
tree1820cd0e33f4a545a1bf3630b2fe3b898ce76cff /winsup/cygwin/cygheap.h
parentcf88c20fd99ca043af3063f2803864c1dd416dd6 (diff)
downloadcygnal-c6f53ff6bedce72a721f71645cd32d2805ba1a3b.tar.gz
cygnal-c6f53ff6bedce72a721f71645cd32d2805ba1a3b.tar.bz2
cygnal-c6f53ff6bedce72a721f71645cd32d2805ba1a3b.zip
* dcrt0.cc (__argc_safe): New variable.
(dll_crt0_1): Store argc in __argc_safe, which will theoretically remain untouched by the user. * fhandler_console.cc (fhandler_console::read): Silence some compiler warnings. * fhandler_raw.cc (fhandler_dev_raw::raw_read): Ditto. * pinfo.cc (_pinfo::commune_recv): Carefully bound argv scan and check for potentially bad pointers since user could have set argv cell to anythinw. * cygheap.h (CYGHEAPSIZE): Bump up size.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index 7a637fa04..499e7d37e 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -259,7 +259,7 @@ struct init_cygheap
struct sigaction *sigs;
};
-#define CYGHEAPSIZE (sizeof (init_cygheap) + (16000 * sizeof (fhandler_union)) + (5 * 65536))
+#define CYGHEAPSIZE (sizeof (init_cygheap) + (20000 * sizeof (fhandler_union)) + (5 * 65536))
extern init_cygheap *cygheap;
extern void *cygheap_max;