m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU M4 source repository branch, stackovf, updated. v1.5.89a-35-gb


From: Eric Blake
Subject: [SCM] GNU M4 source repository branch, stackovf, updated. v1.5.89a-35-gb468fbd
Date: Thu, 17 Jul 2008 23:01:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=b468fbd8067fc3ada29c796cc197605626662957

The branch, stackovf has been updated
       via  b468fbd8067fc3ada29c796cc197605626662957 (commit)
       via  463db2c7feed2f6d38f5041aff7c502e9c4efb6d (commit)
      from  8b9feabcec95d380184f3d2feee771ec8f88144a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b468fbd8067fc3ada29c796cc197605626662957
Author: Eric Blake <address@hidden>
Date:   Thu Jul 17 16:54:43 2008 -0600

    Fix missing copyright notices.
    
    * acinclude.m4: Add copyright license details.
    * c-boxes.el: Likewise.
    * checks/get-them: Likewise.
    * checks/check-them: Likewise.
    
    Signed-off-by: Eric Blake <address@hidden>

commit 463db2c7feed2f6d38f5041aff7c502e9c4efb6d
Author: Eric Blake <address@hidden>
Date:   Thu Jul 17 16:49:57 2008 -0600

    Remove redundant examples/stackovf.sh.
    
    * examples/stackovf.sh: Delete, now that checks has better
    version.
    * examples/Makefile.am (EXTRA_DIST): Don't distribute it.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |   11 ++++++
 acinclude.m4         |    6 +++-
 c-boxes.el           |   17 +++++++++-
 checks/check-them    |   15 +++++++++
 checks/get-them      |   15 +++++++++
 examples/Makefile.am |    1 -
 examples/stackovf.sh |   83 --------------------------------------------------
 7 files changed, 62 insertions(+), 86 deletions(-)
 delete mode 100644 examples/stackovf.sh

diff --git a/ChangeLog b/ChangeLog
index e182a2b..6bea889 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2008-07-17  Eric Blake  <address@hidden>
 
+       Fix missing copyright notices.
+       * acinclude.m4: Add copyright license details.
+       * c-boxes.el: Likewise.
+       * checks/get-them: Likewise.
+       * checks/check-them: Likewise.
+
+       Remove redundant examples/stackovf.sh.
+       * examples/stackovf.sh: Delete, now that checks has better
+       version.
+       * examples/Makefile.am (EXTRA_DIST): Don't distribute it.
+
        Adjust to c-stack changes in gnulib.
        * src/Makefile.am (m4_LDADD): Use libsigsegv when available and
        necessary, via LIBCSTACK.
diff --git a/acinclude.m4 b/acinclude.m4
index ae569bc..c14a5e3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,6 +1,10 @@
 # Local additions to Autoconf macros.
-# Copyright (C) 1992, 1994, 2004, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1994, 2004, 2006, 2008 Free Software Foundation, Inc.
 # Francois Pinard <address@hidden>, 1992.
+#
+# 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.
 
 # Check if --with-dmalloc was given.
 
diff --git a/c-boxes.el b/c-boxes.el
index c1b80e3..35e4d99 100644
--- a/c-boxes.el
+++ b/c-boxes.el
@@ -1,7 +1,22 @@
 ;;; Boxed comments for C mode.
-;;; Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+;;; Copyright (C) 1991, 1992, 1993, 1994, 2008 Free Software Foundation, Inc.
 ;;; Francois Pinard <address@hidden>, April 1991.
 ;;;
+;;; This file is part of GNU M4.
+;;;
+;;; GNU M4 is free software: you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; GNU M4 is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 ;;; I often refill paragraphs inside C comments, while stretching or
 ;;; shrinking the surrounding box as needed.  This is a real pain to
 ;;; do by hand.  Here is the code I made to ease my life on this,
diff --git a/checks/check-them b/checks/check-them
index f66322b..fac1b2b 100755
--- a/checks/check-them
+++ b/checks/check-them
@@ -1,6 +1,21 @@
 #!/bin/sh
 # Check GNU m4 against examples from the manual source.
 # Copyright (C) 1992, 2006, 2007, 2008 Free Software Foundation, Inc.
+#
+# This file is part of GNU M4.
+#
+# GNU M4 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GNU M4 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Clean up temp files on exit
 pwd=`pwd`
diff --git a/checks/get-them b/checks/get-them
index 803f413..44d199d 100755
--- a/checks/get-them
+++ b/checks/get-them
@@ -3,6 +3,21 @@
 # Extract all examples from the manual source.
 # Copyright (C) 1992, 2005, 2006, 2007, 2008 Free Software Foundation,
 # Inc.
+#
+# This file is part of GNU M4.
+#
+# GNU M4 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GNU M4 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # This script is for use with GNU awk.
 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 254d2ab..044f133 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -54,7 +54,6 @@ pushpop.m4 \
 quote.m4 \
 regexp.m4 \
 reverse.m4 \
-stackovf.sh \
 sync-lines.m4 \
 sysv-args.m4 \
 trace.m4 \
diff --git a/examples/stackovf.sh b/examples/stackovf.sh
deleted file mode 100644
index 8916afc..0000000
--- a/examples/stackovf.sh
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Script to verify that stack overflow is diagnosed properly when
-# there is infinite macro call nesting.
-# (causes coredump in m4-1.0.3)
-
-# On some systems the ulimit command is available in ksh or bash but not sh
-(exec 2>/dev/null; ulimit -HSs 300) || {
-    for altshell in bash bsh ksh ; do
-       if (exec >/dev/null 2>&1; $altshell -c 'ulimit -HSs 300') && 
-                                                               test -z "$1" 
-       then
-               echo "Using $altshell because it supports ulimit"
-               exec $altshell $0 running-with-$altshell
-               exit 9
-       fi
-    done
-}
-
-PATH=.:..:$PATH; export PATH;
-M4=m4
-type $M4
-
-tmpfile=`tempfile 2> /dev/null` || tmpfile=/tmp/t.$$
-trap 'rm -f $tmpfile; exit 1' 1 2 3 15
-
-rm -f core
-perl -e '
-# Generate nested define sequence
-$max=1000000;
-for ($i=0; $i<$max; $i++) {
-       print "define(X$i,\n";
-}
-for ($i=$max-1; $i>=0; $i--) {
-       print "body with substance no. $i)dnl\n"
-}
-' | \
-(
-# Limit the stack size if the shell we are running permits it
-if (exec 2>/dev/null; ulimit -HSs 50)
-then
-       (exec >/dev/null 2>&1; ulimit -v) && ulimitdashv=ok
-       ulimit -HSs 50
-       #ulimit -HSd 8000
-       #test -n "$ulimitdashv" && ulimit -HSv 8000
-       echo "Stack limit is `ulimit -s`K";
-       echo "Heap limit  is `ulimit -d`K";
-       test -n "$ulimitdashv" && 
-               echo "VMem limit  is `ulimit -v`K";
-else
-       echo "Can't reset stack limit - this may take a while..."
-fi
-$M4 -L999999999 > $tmpfile 2>&1
-)
-result=$?
-
-exitcode=1
-if test $result -eq 0 ; then
-    echo "TEST DID NOT WORK - m4 did not abort.  Output:"
-else
-    # See if stack overflow was diagnosed
-    case "`cat $tmpfile`" in
-    *overflow*)
-       echo "Test succeeded."; 
-       exitcode=0
-       ;;
-    *ut*of*emory*)
-        echo "*** Test is INCONCLUSIVE (ran out of heap before stack 
overflow)";
-       ;;
-    *) echo "*** Test FAILED.  $M4 aborted unexpectedly.  Output:";
-       ;;
-    esac
-fi
-
-if test -f core ; then
-    ls -l core
-    exitcode=1
-fi
-
-#(test $exitcode -ne 0) &&
-    { echo "Output from $M4:"; cat $tmpfile; }
-
-exit $exitcode


hooks/post-receive
--
GNU M4 source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]