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 <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2015-07-19 22:40:29 +02:00
parent 4889f730c1
commit e437a7d826
2 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2015-07-19 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/signal.h (MINSIGSTKSZ): Define as 8K, unconditionally.
(SIGSTKSZ): Define as 32K, unconditionally.
2015-07-19 Corinna Vinschen <corinna@vinschen.de>
* dcrt0.cc (initial_env): Reduce size of local path buffers to

View file

@ -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 */