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. 0b28764069fb26


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 0b28764069fb268dd716251c71d310c0a321c600
Date: Fri, 29 Jul 2011 10:29:29 +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  0b28764069fb268dd716251c71d310c0a321c600 (commit)
       via  5a0b7f9953f24dc034eca4052214da49fbad8bd0 (commit)
       via  efcea0a399c26aa722337be96ea360fdecb54f47 (commit)
      from  16de770359370224129f23df745178efe518c02c (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=0b28764069fb268dd716251c71d310c0a321c600

commit 0b28764069fb268dd716251c71d310c0a321c600
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jul 29 13:29:06 2011 +0300

    Fix next test to send output to file.

diff --git a/test/ChangeLog b/test/ChangeLog
index 21ccf3e..3706630 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-29         Arnold D. Robbins     <address@hidden>
+
+       * Makefile.am (next): Redirect output to output file!
+
 2011-07-28         Arnold D. Robbins     <address@hidden>
 
        * sortu.awk, sortu.ok: Modified to make numeric comparison do
diff --git a/test/Makefile.am b/test/Makefile.am
index 9780e79..a640c14 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1383,7 +1383,7 @@ posix2008sub:
 
 next:
        @echo $@
-       @-AWK="$(AWKPROG)" $(srcdir)/address@hidden
+       @-AWK="$(AWKPROG)" $(srcdir)/address@hidden > _$@ 2>&1
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 exit:
diff --git a/test/Makefile.in b/test/Makefile.in
index f2ff79f..4410670 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1734,7 +1734,7 @@ posix2008sub:
 
 next:
        @echo $@
-       @-AWK="$(AWKPROG)" $(srcdir)/address@hidden
+       @-AWK="$(AWKPROG)" $(srcdir)/address@hidden > _$@ 2>&1
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 exit:

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

commit 5a0b7f9953f24dc034eca4052214da49fbad8bd0
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jul 29 13:25:57 2011 +0300

    Fix DJGPP problem with libsigsegv.

diff --git a/ChangeLog b/ChangeLog
index edd05c8..9a97ad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-29  Eli Zaretskii  <address@hidden>
+
+       * builtin.c (format_tree): Rename small -> small_flag,
+       big -> big_flag, bigbig -> bigbig_flag.  Solves compilation errors
+       when building Gawk with libsigsegv on MS-Windows, see
+       https://lists.gnu.org/archive/html/bug-gawk/2011-07/msg00029.html.
+
 2011-07-28         Arnold D. Robbins     <address@hidden>
 
        * builtin.c (do_sub): Revert to gawk 3.1 behavior for backslash
diff --git a/builtin.c b/builtin.c
index 4d87592..941f5ad 100644
--- a/builtin.c
+++ b/builtin.c
@@ -605,7 +605,7 @@ format_tree(
        NODE *arg;
        long fw, prec, argnum;
        int used_dollar;
-       int lj, alt, big, bigbig, small, have_prec, need_format;
+       int lj, alt, big_flag, bigbig_flag, small_flag, have_prec, need_format;
        long *cur = NULL;
        uintmax_t uval;
        int sgn;
@@ -725,7 +725,7 @@ format_tree(
                signchar = FALSE;
                zero_flag = FALSE;
                quote_flag = FALSE;
-               lj = alt = big = bigbig = small = FALSE;
+               lj = alt = big_flag = bigbig_flag = small_flag = FALSE;
                fill = sp;
                cp = cend;
                chbuf = lchbuf;
@@ -907,7 +907,7 @@ check_pos:
                        goto retry;  
 #endif
                case 'l':
-                       if (big)
+                       if (big_flag)
                                break;
                        else {
                                static short warned = FALSE;
@@ -921,10 +921,10 @@ check_pos:
                                        goto out;
                                }
                        }
-                       big = TRUE;
+                       big_flag = TRUE;
                        goto retry;
                case 'L':
-                       if (bigbig)
+                       if (bigbig_flag)
                                break;
                        else {
                                static short warned = FALSE;
@@ -938,10 +938,10 @@ check_pos:
                                        goto out;
                                }
                        }
-                       bigbig = TRUE;
+                       bigbig_flag = TRUE;
                        goto retry;
                case 'h':
-                       if (small)
+                       if (small_flag)
                                break;
                        else {
                                static short warned = FALSE;
@@ -955,7 +955,7 @@ check_pos:
                                        goto out;
                                }
                        }
-                       small = TRUE;
+                       small_flag = TRUE;
                        goto retry;
                case 'c':
                        need_format = FALSE;

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

commit efcea0a399c26aa722337be96ea360fdecb54f47
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jul 29 13:23:24 2011 +0300

    Misc documentation fixes.

diff --git a/ChangeLog b/ChangeLog
index f06fd57..edd05c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * builtin.c (do_sub): Revert to gawk 3.1 behavior for backslash
        handling. It was stupid to think I could break compatibility.
+       Thanks to John Ellson <address@hidden> for raising
+       the issue.
 
 2011-07-26         John Haque      <address@hidden>
 
diff --git a/README_d/ChangeLog b/README_d/ChangeLog
index 2a0cf32..945ba21 100644
--- a/README_d/ChangeLog
+++ b/README_d/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-29         Arnold D. Robbins     <address@hidden>
+
+       * README.pc: Add download location info for DJGPP version.
+
 2011-07-15         Arnold D. Robbins     <address@hidden>
 
        * README.solaris: Info added on using the Solaris C compiler.
diff --git a/README_d/README.pc b/README_d/README.pc
index d464563..f8addb0 100644
--- a/README_d/README.pc
+++ b/README_d/README.pc
@@ -92,3 +92,30 @@ or
    address@hidden (OS/2 version)
 
 Support for Windows32 started in gawk-3.0.3.
+
+----
+From: Eric Pement <address@hidden>
+Newsgroups: comp.lang.awk
+Subject: djgpp Gawk ver. 4.0 available
+Date: Tue, 26 Jul 2011 06:42:00 -0700 (PDT)
+MS Windows users:
+
+The DJGPP compilation of GNU awk v4.0.0 is now available here:
+
+   ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk400b.zip
+
+For those who don't know the difference between the DGJPP compile and
+other versions compiled for Windows, the most noticeable to me is that
+it supports Unix-style use of 'single' and "double" quoting. Example:
+
+ [c:\tmp]> :: normal Windows awk requires complex quoting
+ [c:\tmp]> gawk "BEGIN{ print \"hello, world\" }"
+ hello, world
+ [c:\tmp]> :: DJGPP compile of awk permits Unix quoting in CMD
+ [c:\tmp]> djgawk 'BEGIN{ print "hello, world" }'
+ hello, world
+
+Syntactic sugar? Sure. But it makes life easier in a Windows
+environment, and without installing Cygwin ...
+
+Eric P.
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 2891c90..87d8ff2 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -20641,6 +20641,7 @@ necessary for accessing individual characters
 function was written before @command{gawk} acquired the ability to
 split strings into single characters using @code{""} as the separator.
 We have left it alone, since using @code{substr()} is more portable.}
address@hidden FIXME: could use split(str, a, "") to do it more easily.
 
 The discussion that follows walks through the code a bit at a time:
 

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

Summary of changes:
 ChangeLog          |    9 +++++++++
 README_d/ChangeLog |    4 ++++
 README_d/README.pc |   27 +++++++++++++++++++++++++++
 builtin.c          |   16 ++++++++--------
 doc/gawk.texi      |    1 +
 test/ChangeLog     |    4 ++++
 test/Makefile.am   |    2 +-
 test/Makefile.in   |    2 +-
 8 files changed, 55 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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