[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more m4 underquotations
From: |
Ralf Wildenhues |
Subject: |
more m4 underquotations |
Date: |
Tue, 13 Feb 2007 22:42:20 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Bruno, Jim, Paul, all,
I found a couple more underquotations. Here's a proposed quick patch.
If you prefer some other quoting style (e.g., maximal quoting or
quadrigraphs, but rather not changequote), I'd be happy to redo.
OK to apply?
Cheers,
Ralf
2007-02-13 Ralf Wildenhues <address@hidden>
* m4/intdiv0.m4 (gt_INTDIV0): Fix m4 quoting bug.
* m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
* m4/unlinkdir.m4 (gl_UNLINKDIR): Likewise.
Index: m4/intdiv0.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/intdiv0.m4,v
retrieving revision 1.4
diff -u -r1.4 intdiv0.m4
--- m4/intdiv0.m4 24 Feb 2005 20:12:45 -0000 1.4
+++ m4/intdiv0.m4 13 Feb 2007 21:33:20 -0000
@@ -1,5 +1,5 @@
-# intdiv0.m4 serial 1 (gettext-0.11.3)
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# intdiv0.m4 serial 2
+dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -54,7 +54,7 @@
[
# Guess based on the CPU.
case "$host_cpu" in
- alpha* | i[34567]86 | m68k | s390*)
+ alpha* | i[[34567]]86 | m68k | s390*)
gt_cv_int_divbyzero_sigfpe="guessing yes";;
*)
gt_cv_int_divbyzero_sigfpe="guessing no";;
Index: m4/unlink-busy.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/unlink-busy.m4,v
retrieving revision 1.7
diff -u -r1.7 unlink-busy.m4
--- m4/unlink-busy.m4 24 Apr 2006 17:50:05 -0000 1.7
+++ m4/unlink-busy.m4 13 Feb 2007 21:33:20 -0000
@@ -1,10 +1,10 @@
-#serial 10
+#serial 11
dnl From J. David Anglin.
dnl HPUX and other systems can't unlink shared text that is being executed.
-# Copyright (C) 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2007 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -16,12 +16,12 @@
[
AC_RUN_IFELSE(
[AC_LANG_SOURCE(
- [AC_INCLUDES_DEFAULT
+ [AC_INCLUDES_DEFAULT[
int
main (int argc, char **argv)
{
return !argc || unlink (argv[0]) != 0;
- }])],
+ }]])],
jm_cv_func_unlink_busy_text=yes,
jm_cv_func_unlink_busy_text=no,
jm_cv_func_unlink_busy_text=no
Index: m4/unlinkdir.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/unlinkdir.m4,v
retrieving revision 1.3
diff -u -r1.3 unlinkdir.m4
--- m4/unlinkdir.m4 21 Aug 2006 21:46:31 -0000 1.3
+++ m4/unlinkdir.m4 13 Feb 2007 21:33:20 -0000
@@ -1,6 +1,6 @@
-#serial 4
+#serial 5
-# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -23,9 +23,9 @@
# and might create garbage in the file system,
# so the code below simply relies on the kernel name and version number.
case $host in
- *-*-gnu[0-9]* | \
+ *-*-gnu[[0-9]]* | \
*-*-linux-* | *-*-linux | \
- *-*-freebsd2.2* | *-*-freebsd[3-9]* | *-*-freebsd[1-9][0-9]* | \
+ *-*-freebsd2.2* | *-*-freebsd[[3-9]]* | *-*-freebsd[[1-9]][[0-9]]* | \
*-cygwin)
AC_DEFINE([UNLINK_CANNOT_UNLINK_DIR], 1,
[Define to 1 if unlink (dir) cannot possibly succeed.]);;