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. 9867e9cc604823


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 9867e9cc604823c73027275efdca9c64cd2b11c0
Date: Mon, 16 Jan 2012 19:39:13 +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  9867e9cc604823c73027275efdca9c64cd2b11c0 (commit)
      from  bf2031d59be508cb045b1317eb524dcf9f2ef402 (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=9867e9cc604823c73027275efdca9c64cd2b11c0

commit 9867e9cc604823c73027275efdca9c64cd2b11c0
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Jan 16 21:38:33 2012 +0200

    Sync dfa.c with grep on bugfix for DJGPP.

diff --git a/ChangeLog b/ChangeLog
index 6482baf..54f96cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-13         Arnold D. Robbins     <address@hidden>
+
+       * dfa.c [is_valid_unibtye_character]: Fix from GNU grep to 
+       bug reported by me from Scott Deifik for DJGPP.
+
 2012-01-03         Arnold D. Robbins     <address@hidden>
 
        * dfa.c: Sync with GNU grep.
diff --git a/dfa.c b/dfa.c
index 172ff79..012251a 100644
--- a/dfa.c
+++ b/dfa.c
@@ -1083,7 +1083,7 @@ parse_bracket_exp (void)
 #ifdef __GLIBC__
 # define is_valid_unibyte_character(c) 1
 #else
-# define is_valid_unibyte_character(c) (MBS_SUPPORT && btowc (c) != WEOF)
+# define is_valid_unibyte_character(c) (! (MBS_SUPPORT && btowc (c) == WEOF))
 #endif
 
 /* Return non-zero if C is a `word-constituent' byte; zero otherwise.  */

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

Summary of changes:
 ChangeLog |    5 +++++
 dfa.c     |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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