summaryrefslogtreecommitdiff
path: root/m4/stack-direction.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-10-13 10:24:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-10-13 11:38:28 -0700
commit3a0f73ce978de44748e905053192735f67627ac6 (patch)
tree3d18279298ec4bf6681e66f5a01a297747f71eeb /m4/stack-direction.m4
parent7fc3219bcc2bf448ef26cf30a2e5770fdda3f2b4 (diff)
downloadgnulib-3a0f73ce978de44748e905053192735f67627ac6.tar.gz
sigsegv: fix quoting problem
Problem reported for FreeBSD ports by Alexey Dokuchaev in: https://bugs.gnu.org/51144 * m4/stack-direction.m4 (SV_STACK_DIRECTION): Quote brackets.
Diffstat (limited to 'm4/stack-direction.m4')
-rw-r--r--m4/stack-direction.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
index e682be97dd..c90d69733b 100644
--- a/m4/stack-direction.m4
+++ b/m4/stack-direction.m4
@@ -1,4 +1,4 @@
-# stack-direction.m4 serial 8
+# stack-direction.m4 serial 9
dnl Copyright (C) 2002-2021 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -79,7 +79,7 @@ find_stack_direction (int *addr, int depth)
return dir + dummy;
}
int
-main (int argc, char *argv[])
+main (int argc, char *argv[[]])
{
printf ("%d\n", find_stack_direction (NULL, argc + 20));
return 0;