Import readline 8.0
[deliverable/binutils-gdb.git] / readline / examples / rlcat.c
index fa9e06ff71e1e8410abdf7dfec8f3e5029b4b54c..b4942413f8bebb6d08b83e035ce7dde3a9c52bf7 100644 (file)
@@ -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)
This page took 0.025936 seconds and 4 git commands to generate.