]> Savannah Git Hosting - gnulib.git/commitdiff
sigsegv: fix quoting problem
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Oct 2021 17:24:40 +0000 (10:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Oct 2021 18:38:28 +0000 (11:38 -0700)
Problem reported for FreeBSD ports by Alexey Dokuchaev in:
https://bugs.gnu.org/51144
* m4/stack-direction.m4 (SV_STACK_DIRECTION): Quote brackets.

ChangeLog
m4/stack-direction.m4

index da5b570ee5b9092678139dc0748f3b49f1659d81..ea71de0b20c76ce134905dc8cba102449efae233 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
index e682be97dd948db78cda87b21b0da1d530150111..c90d69733b4661c68af6718ba35a21bf05e65afb 100644 (file)
@@ -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;