gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. 800d8dfddf14399e2b6470e


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 800d8dfddf14399e2b6470ef8b0d2b4d30398b2c
Date: Thu, 02 May 2013 19:50:17 +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, master has been updated
       via  800d8dfddf14399e2b6470ef8b0d2b4d30398b2c (commit)
       via  362a751010463c8c0b897d80e1b83abf3f62374b (commit)
       via  dbf433225c77df0301fd3d24e199b12f88f1f60a (commit)
      from  f876eae297cf4ce7f6605d021bc61d1ae8c5f4e9 (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=800d8dfddf14399e2b6470ef8b0d2b4d30398b2c

commit 800d8dfddf14399e2b6470ef8b0d2b4d30398b2c
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 2 22:47:49 2013 +0300

    Fix symtab9 test so it will work on Windows too.

diff --git a/test/ChangeLog b/test/ChangeLog
index a5df176..70bf81b 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-02         Arnold D. Robbins     <address@hidden>
+
+       * symtab9.awk: Don't remove test file in END rule, breaks on Windows.
+       * Makefile.am (symtab9): Add explicit rule and remove test file file.
+
 2013-04-19         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (LOCALES): New variable split out from AWK.
diff --git a/test/Makefile.am b/test/Makefile.am
index 75e0c6e..4376691 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1793,6 +1793,12 @@ symtab8:
        @grep -v '^ENVIRON' __$@ | grep -v '^PROCINFO' | grep -v '^FILENAME' >> 
_$@ ; rm __$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
+symtab9:
+       @echo $@
+       @$(AWK) -f $(srcdir)/address@hidden >_$@
+       @rm -f testit.txt
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+
 reginttrad:
        @echo $@
        @$(AWK) --traditional -r -f $(srcdir)/address@hidden > _$@
diff --git a/test/Makefile.in b/test/Makefile.in
index 71b263b..46e7f57 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2187,6 +2187,12 @@ symtab8:
        @grep -v '^ENVIRON' __$@ | grep -v '^PROCINFO' | grep -v '^FILENAME' >> 
_$@ ; rm __$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
+symtab9:
+       @echo $@
+       @$(AWK) -f $(srcdir)/address@hidden >_$@
+       @rm -f testit.txt
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+
 reginttrad:
        @echo $@
        @$(AWK) --traditional -r -f $(srcdir)/address@hidden > _$@
@@ -3417,11 +3423,6 @@ symtab7:
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
-symtab9:
-       @echo $@
-       @AWKPATH=$(srcdir) $(AWK) -f address@hidden  >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
-       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
-
 double1:
        @echo $@
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index 1856420..d0346a8 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -1217,11 +1217,6 @@ symtab7:
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  < $(srcdir)/address@hidden 
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
-symtab9:
-       @echo $@
-       @AWKPATH=$(srcdir) $(AWK) -f address@hidden  >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
-       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
-
 double1:
        @echo $@
        @AWKPATH=$(srcdir) $(AWK) -f address@hidden  >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
diff --git a/test/symtab9.awk b/test/symtab9.awk
index fd8f14d..6b52014 100644
--- a/test/symtab9.awk
+++ b/test/symtab9.awk
@@ -11,5 +11,9 @@ BEGIN {
                getline
 
        printf "NR should be 3, is %d\n", SYMTAB["NR"]
-       system("rm testit.txt")
+
+       # Can't do this here. Windows doesn't let you remove a file that
+       # is still open. Moving it to END won't help either, since the file
+       # (correctly) remain open until after the END finishes.
+       # system("rm testit.txt")
 }

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=362a751010463c8c0b897d80e1b83abf3f62374b

commit 362a751010463c8c0b897d80e1b83abf3f62374b
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 2 22:45:19 2013 +0300

    Update TODO.

diff --git a/TODO b/TODO
index c76bf8c..62c61a1 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-Tue Apr 16 11:08:26 IDT 2013
+Thu May  2 22:37:09 IDT 2013
 ============================
 
 There were too many files tracking different thoughts and ideas for
@@ -29,6 +29,9 @@ Minor Cleanups and Code Improvements
        Review the bash source script for working with shared libraries in
        order to nuke the use of libtool.
 
+       In test/Makefile.am and generation scripts, quote $(srcdir) etc.
+       for windows or other systems with spaces in path names. Fun.
+
 Minor New Features
 ------------------
 
@@ -36,6 +39,10 @@ Minor New Features
        the options.  And add an optional array argument to wait and
        waitpid in which to return exit status information.
 
+       Make index("foo", /foo/) fatal ala BWK awk.
+
+       Add a readfile() function in awk from mail.
+
        Consider relaxing the strictness of --posix.
 
        ? Add an optional base to strtonum, allowing 2-36.

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

commit dbf433225c77df0301fd3d24e199b12f88f1f60a
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 2 22:44:50 2013 +0300

    Sync pc/Makefile.tst with mainline.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index cd8a6db..49e907c 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-02   Scott Deifik  <address@hidden>
+
+       * Makefile.tst: Sync with mainline.
+
 2013-04-29  Eli Zaretskii  <address@hidden>
 
        * Makefile.tst (mpfr-tests, shlib-tests, rsnulbig, rsnulbig2):
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 78ad5ad..f7bfa7c 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -845,7 +845,7 @@ posix2008sub:
 
 next:
        @echo $@
-       @-AWK="$(AWKPROG)" $(srcdir)/address@hidden > _$@ 2>&1
+       @-$(LOCALES) AWK="$(AWKPROG)" $(srcdir)/address@hidden > _$@ 2>&1
        @-LC_ALL=C $(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 exit:

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

Summary of changes:
 TODO             |    9 ++++++++-
 pc/ChangeLog     |    4 ++++
 pc/Makefile.tst  |    2 +-
 test/ChangeLog   |    5 +++++
 test/Makefile.am |    6 ++++++
 test/Makefile.in |   11 ++++++-----
 test/Maketests   |    5 -----
 test/symtab9.awk |    6 +++++-
 8 files changed, 35 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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