diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-10 21:32:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-10 21:32:38 (GMT) |
commit | ce5b8b9cfc086b57d374c80ce483be55564f0895 (patch) | |
tree | aab3e98644bbfdde7cee9e7d0644843efc3b481b /unix/configure | |
parent | 2b0f7b4b159055bf1ef1f1a51a31ab0373929824 (diff) | |
download | tcl-ce5b8b9cfc086b57d374c80ce483be55564f0895.zip tcl-ce5b8b9cfc086b57d374c80ce483be55564f0895.tar.gz tcl-ce5b8b9cfc086b57d374c80ce483be55564f0895.tar.bz2 |
[Bug 3205320]: stack space detection defeated by inlining
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/unix/configure b/unix/configure index 8fbaebc..96e50d9 100755 --- a/unix/configure +++ b/unix/configure @@ -18734,11 +18734,13 @@ cat >>conftest.$ac_ext <<_ACEOF int StackGrowsUp(int *parent) { int here; - return (&here < parent); + if (parent) + return (&here < parent); + else + return StackGrowsUp(&here); } int main (int argc, char *argv[]) { - int foo; - return StackGrowsUp(&foo); + return StackGrowsUp(0); } _ACEOF |