]> Savannah Git Hosting - gnulib.git/commit
c-stack: stop using SIGSTKSZ
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Sep 2020 20:50:36 +0000 (13:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Oct 2020 20:02:40 +0000 (13:02 -0700)
commitf9e2b20a12a230efa30f1d479563ae07d276a94b
treeee3789a0b57537fbe29282fa82fe1674ce352b4f
parentf20816f7d25b75c111defa27081b2b614c31dc52
c-stack: stop using SIGSTKSZ

It’s been proposed to stop making SIGSTKSZ an integer constant:
https://sourceware.org/pipermail/libc-alpha/2020-September/118028.html
Also, using SIGSTKSZ in #if did not conform to current POSIX.
Also, avoiding SIGSTKSZ makes the code simpler and easier to grok.
* lib/c-stack.c (SIGSTKSZ): Remove.
(alternate_signal_stack): Now a 64 KiB array, for simplicity.
All uses changed.
ChangeLog
lib/c-stack.c
lib/c-stack.h