This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Lower Cygwin's MINSIGSTKSZ and SIGSTKSZ


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e437a7d826188da96ca9b06ecb03987196974f3f

commit e437a7d826188da96ca9b06ecb03987196974f3f
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sun Jul 19 22:40:29 2015 +0200

    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>

Diff:
---
 winsup/cygwin/ChangeLog               |  5 +++++
 winsup/cygwin/include/cygwin/signal.h | 10 ++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a606cca..0d9df3b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
 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
 	PATH_MAX.  Allocate debugger_command from process heap.
 	(init_windows_system_directory): Very early initialize new global
diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h
index cdf86b9..19dd0a6 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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]