From: Corinna Vinschen Date: Sun, 19 Jul 2015 20:40:29 +0000 (+0200) Subject: Lower Cygwin's MINSIGSTKSZ and SIGSTKSZ X-Git-Tag: newlib-snapshot-20150723~12 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e437a7d826188da96ca9b06ecb03987196974f3f;p=newlib-cygwin.git Lower Cygwin's MINSIGSTKSZ and SIGSTKSZ * include/cygwin/signal.h (MINSIGSTKSZ): Define as 8K, unconditionally. (SIGSTKSZ): Define as 32K, unconditionally. Signed-off-by: Corinna Vinschen --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a606cca74..0d9df3b9b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2015-07-19 Corinna Vinschen + + * include/cygwin/signal.h (MINSIGSTKSZ): Define as 8K, unconditionally. + (SIGSTKSZ): Define as 32K, unconditionally. + 2015-07-19 Corinna Vinschen * dcrt0.cc (initial_env): Reduce size of local path buffers to diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index cdf86b942..19dd0a64a 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -355,12 +355,10 @@ struct sigaction Do not use. */ #define _SA_INTERNAL_MASK 0xf000 /* bits in this range are internal */ -#ifndef MINSIGSTKSZ -#define MINSIGSTKSZ 32768 -#endif -#ifndef SIGSTKSZ -#define SIGSTKSZ 65536 -#endif +#undef MINSIGSTKSZ +#define MINSIGSTKSZ 8192 +#undef SIGSTKSZ +#define SIGSTKSZ 32768 #define SIGHUP 1 /* hangup */ #define SIGINT 2 /* interrupt */