[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.10-58-g1df89e8
From: |
Paul Eggert |
Subject: |
grep branch, master, updated. v2.10-58-g1df89e8 |
Date: |
Thu, 12 Jan 2012 20:50:36 +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 "grep".
The branch, master has been updated
via 1df89e8d426ab5999f5f2936ed3eb1ce137c8a44 (commit)
from 0dc6ab4153de00e530669e2b7d47b8c1968e1fa1 (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.savannah.gnu.org/cgit/grep.git/commit/?id=1df89e8d426ab5999f5f2936ed3eb1ce137c8a44
commit 1df89e8d426ab5999f5f2936ed3eb1ce137c8a44
Author: Paul Eggert <address@hidden>
Date: Thu Jan 12 12:50:04 2012 -0800
dfa: non-glibc word-constituent unibyte fix
* src/dfa.c (is_valid_unibyte_character): Fix typo that caused
this to incorrectly return 0 on unibyte non-glibc systems.
Problem reported by Aharon Robbins in
<http://lists.gnu.org/archive/html/bug-grep/2012-01/msg00084.html>.
diff --git a/src/dfa.c b/src/dfa.c
index 8dbadd5..6ab0ab4 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -1079,7 +1079,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:
src/dfa.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.10-58-g1df89e8,
Paul Eggert <=