aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/alloca/needstack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloca/needstack.c b/src/alloca/needstack.c
index c1b8f01..91a2f73 100644
--- a/src/alloca/needstack.c
+++ b/src/alloca/needstack.c
@@ -39,6 +39,9 @@ int stack_will_overflow(intptr_t n)
{
void* prev_brk;
+ /* TODO an alternative way is to fork and let the child
+ * do the test. */
+
/* TODO This function shall block calls to brk and sbrk. */
prev_brk = sbrk(n);