gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. a3d40d091d31ec


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. a3d40d091d31ec54b85240209afddb0212de085c
Date: Tue, 25 Oct 2011 19:42:52 +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 "gawk".

The branch, gawk-4.0-stable has been updated
       via  a3d40d091d31ec54b85240209afddb0212de085c (commit)
       via  3a149467427d21fcd2aebf523fb44b12bbe1d010 (commit)
      from  d9cd8461596769cf68417bae4f819b6ccb4d1d7b (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=a3d40d091d31ec54b85240209afddb0212de085c

commit a3d40d091d31ec54b85240209afddb0212de085c
Author: Arnold D. Robbins <address@hidden>
Date:   Tue Oct 25 21:42:23 2011 +0200

    VMS fixes for compilation and test suite addition.

diff --git a/ChangeLog b/ChangeLog
index 90667ec..4f6f4b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * Makefile.am (dist-hook): Use `cd $(srcdir)/pc' so that
        `make distcheck' works completely.
+       * builtin.c (do_strftime): Add cast to long int in check
+       for fclock < 0 for systems where time_t is unsigned (e.g., VMS).
 
 2011-10-25  Stefano Lattarini  <address@hidden>
 
diff --git a/builtin.c b/builtin.c
index 04627a1..64ad900 100644
--- a/builtin.c
+++ b/builtin.c
@@ -1677,7 +1677,7 @@ do_strftime(int nargs)
                        if (do_lint && (t2->flags & (NUMCUR|NUMBER)) == 0)
                                lintwarn(_("strftime: received non-numeric 
second argument"));
                        fclock = (time_t) force_number(t2);
-                       if (fclock < 0)
+                       if (((long int) fclock) < 0)
                                fatal(_("strftime: second argument less than 0 
or too big for time_t"));
                        DEREF(t2);
                }
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 9fe0f0f..88a4bf8 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-25         Anders Wallin        <address@hidden>
+
+       * vmstest.com (posix2008sub): Added as specific test in order to
+       use --posix option.
+
 2011-06-24         Arnold D. Robbins     <address@hidden>
 
        * vmsbuild.com (REL, PATCHLVL): Move to 4.0.0.
diff --git a/vms/vmstest.com b/vms/vmstest.com
index 0ca3e0f..d4d3d8a 100644
--- a/vms/vmstest.com
+++ b/vms/vmstest.com
@@ -312,7 +312,6 @@ $ofmta:
 $paramtyp:
 $patsplit:
 $pcntplus:
-$posix2008sub:
 $printf1:
 $procinfs:
 $prt1eval:
@@ -1078,6 +1077,12 @@ $        igncascmp space.ok _space.tmp
 $      if $status then  rm _space.tmp;
 $      return
 $
+$posix2008sub: echo "posix2008sub"
+$      gawk --posix -f posix2008sub.awk >_posix2008sub.tmp
+$      cmp posix2008sub.ok _posix2008sub.tmp
+$      if $status thenĀ  rm _posix2008sub.tmp;
+$      return
+$
 $printf0:      echo "printf0"
 $      gawk --posix -f printf0.awk >_printf0.tmp
 $      cmp printf0.ok _printf0.tmp

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=3a149467427d21fcd2aebf523fb44b12bbe1d010

commit 3a149467427d21fcd2aebf523fb44b12bbe1d010
Author: Arnold D. Robbins <address@hidden>
Date:   Tue Oct 25 21:36:28 2011 +0200

    Finish fixing make distcheck.

diff --git a/ChangeLog b/ChangeLog
index d6d48b4..90667ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-10-25         Arnold D. Robbins     <address@hidden>
+
+       * Makefile.am (dist-hook): Use `cd $(srcdir)/pc' so that
+       `make distcheck' works completely.
+
+2011-10-25  Stefano Lattarini  <address@hidden>
+
+       dist: generated file `version.c' is not removed by "make distclean"
+
+       * Makefile.am (distcleancheck_listfiles): Define to ignore the
+       generated `version.c' file.
+
 2011-10-24         Arnold D. Robbins     <address@hidden>
 
        * dfa.c (wcscoll): Create for VMS.
diff --git a/Makefile.am b/Makefile.am
index 29903f9..aeff42f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,6 +63,11 @@ EXTRA_DIST = \
        vms \
        ylwrap
 
+# It's OK for the generated file `version.c' not to be removed by
+# "make distclean".
+distcleancheck_listfiles = \
+  find . -type f -print | grep -v '^\./version\.c$$'
+
 # The order to do things in.
 # Build explicitly in "." in order to build gawk first, so
 # that `make check' without a prior `make' works.
@@ -114,8 +119,6 @@ gawk_SOURCES = $(base_sources) eval.c profile.c
 pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
 dgawk_SOURCES = $(base_sources) eval_d.c profile.c cmd.h command.y debug.c
 
-distcleancheck_listfiles = version.c
-
 # Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
 LDADD = $(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS)
 dgawk_LDADD = $(LDADD) @LIBREADLINE@
@@ -165,7 +168,7 @@ check-local: gawk$(EXEEXT) pgawk$(EXEEXT)
 # And additional set up for the pc directory.
 dist-hook:
        cd $(distdir)/extension ; rm -f *.o *.so
-       cd pc ; \
+       cd $(srcdir)/pc ; \
        sed -n -f configpk.sed < ../configure.ac > tmp.sed ; \
        sed -f config.sed < ../configh.in > config.tmp ; \
        sed -f tmp.sed < config.tmp > config.h ; \
diff --git a/Makefile.in b/Makefile.in
index 89ac4dd..c8208d9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -338,6 +338,12 @@ EXTRA_DIST = \
        ylwrap
 
 
+# It's OK for the generated file `version.c' not to be removed by
+# "make distclean".
+distcleancheck_listfiles = \
+  find . -type f -print | grep -v '^\./version\.c$$'
+
+
 # The order to do things in.
 # Build explicitly in "." in order to build gawk first, so
 # that `make check' without a prior `make' works.
@@ -386,7 +392,6 @@ base_sources = \
 gawk_SOURCES = $(base_sources) eval.c profile.c
 pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
 dgawk_SOURCES = $(base_sources) eval_d.c profile.c cmd.h command.y debug.c
-distcleancheck_listfiles = version.c
 
 # Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
 LDADD = $(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS)
@@ -1030,7 +1035,7 @@ check-local: gawk$(EXEEXT) pgawk$(EXEEXT)
 # And additional set up for the pc directory.
 dist-hook:
        cd $(distdir)/extension ; rm -f *.o *.so
-       cd pc ; \
+       cd $(srcdir)/pc ; \
        sed -n -f configpk.sed < ../configure.ac > tmp.sed ; \
        sed -f config.sed < ../configh.in > config.tmp ; \
        sed -f tmp.sed < config.tmp > config.h ; \

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

Summary of changes:
 ChangeLog       |   14 ++++++++++++++
 Makefile.am     |    9 ++++++---
 Makefile.in     |    9 +++++++--
 builtin.c       |    2 +-
 vms/ChangeLog   |    5 +++++
 vms/vmstest.com |    7 ++++++-
 6 files changed, 39 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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