aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-01-16 21:38:33 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-01-16 21:38:33 +0200
commit9867e9cc604823c73027275efdca9c64cd2b11c0 (patch)
tree77211d8dfc0b3f2eb0494ddc329dffe3425f3c77 /dfa.c
parentbf2031d59be508cb045b1317eb524dcf9f2ef402 (diff)
downloadegawk-9867e9cc604823c73027275efdca9c64cd2b11c0.tar.gz
egawk-9867e9cc604823c73027275efdca9c64cd2b11c0.tar.bz2
egawk-9867e9cc604823c73027275efdca9c64cd2b11c0.zip
Sync dfa.c with grep on bugfix for DJGPP.
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dfa.c b/dfa.c
index 172ff794..012251a3 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. */