Problem reported for FreeBSD ports by Alexey Dokuchaev in:
https://bugs.gnu.org/51144
* m4/stack-direction.m4 (SV_STACK_DIRECTION): Quote brackets.
+2021-10-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ 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.
+
2021-10-10 Paul Eggert <eggert@cs.ucla.edu>
nproc: port better to OpenBSD
-# 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
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;