diff options
author | Tom Tromey <tom@tromey.com> | 2019-08-12 10:24:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-12 10:57:56 -0600 |
commit | cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20 (patch) | |
tree | 6b03a978514e9f7df56c1243a3796776ecc65198 /readline/examples/rlcat.c | |
parent | ca2589f3bbad1e151abbb293d4c43a87b7a4d5ec (diff) | |
download | binutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.zip binutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.tar.gz binutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.tar.bz2 |
Import readline 8.0
This imports readline 8.0.
readline/ChangeLog.gdb
2019-08-12 Tom Tromey <tom@tromey.com>
* Imported readline 8.0.
Diffstat (limited to 'readline/examples/rlcat.c')
-rw-r--r-- | readline/examples/rlcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/examples/rlcat.c b/readline/examples/rlcat.c index fa9e06f..b494241 100644 --- a/readline/examples/rlcat.c +++ b/readline/examples/rlcat.c @@ -137,7 +137,7 @@ fcopy(fp) if (vflag && isascii ((unsigned char)c) && isprint((unsigned char)c) == 0) { x = rl_untranslate_keyseq (c); - if (fputs (x, stdout) != 0) + if (fputs (x, stdout) == EOF) return 1; } else if (putchar (c) == EOF) |