summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-05-10 06:32:12 +0000
committerache <ache@FreeBSD.org>1994-05-10 06:32:12 +0000
commit6f835918ed6c318729913f9899751809d47a3582 (patch)
treee0de2ba153c68459c4eddd8e16ea2c772e85b3e1 /gnu
parent3c39970bc8de5ff073c8926f4c0802a36c30a3b1 (diff)
downloadFreeBSD-src-6f835918ed6c318729913f9899751809d47a3582.zip
FreeBSD-src-6f835918ed6c318729913f9899751809d47a3582.tar.gz
Make readline 8-bit clean
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libreadline/readline/chardefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libreadline/readline/chardefs.h b/gnu/lib/libreadline/readline/chardefs.h
index c9dcff3..63017e1 100644
--- a/gnu/lib/libreadline/readline/chardefs.h
+++ b/gnu/lib/libreadline/readline/chardefs.h
@@ -31,9 +31,9 @@ extern char *xmalloc ();
/* Some character stuff. */
#define control_character_threshold 0x020 /* Smaller than this is control. */
-#define meta_character_threshold 0x07f /* Larger than this is Meta. */
+#define meta_character_threshold 255 /* Larger than this is Meta. */
#define control_character_bit 0x40 /* 0x000000, must be off. */
-#define meta_character_bit 0x080 /* x0000000, must be on. */
+#define meta_character_bit 0x100 /* x0000000, must be on. */
#define largest_char 255 /* Largest character value. */
#define META_CHAR(c) ((c) > meta_character_threshold && (c) <= largest_char)
OpenPOWER on IntegriCloud