build: fix env build where SIGNUM_BOUND is not constant
commit4bbbe49074c996e90e19903dddd858ff8a2bf648
authorPádraig Brady <P@draigBrady.com>
Wed, 6 Mar 2019 16:58:13 +0000 (6 08:58 -0800)
committerPádraig Brady <P@draigBrady.com>
Wed, 6 Mar 2019 17:00:44 +0000 (6 09:00 -0800)
treeaff24057406dc9d82bab785fe99e0cb1a1258e0d
parentefa3e5dda6ac1083f0f1267c2f8e2bf27bb8786f
build: fix env build where SIGNUM_BOUND is not constant

* src/env.c (initialize_signals): A new function to initialize
the signals array on the heap, to avoid a build failure on
opensolaris, where SIGNUM_BOUND is not a constant.
src/env.c