X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f54674f1b5d07148d9655fc3b337ad5f725272a7..ee412cbd5c0667742a128fb4e1c89801528a9a48:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index c85a9efd..b999378b 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -299,9 +299,8 @@ main (int argc, char **argv) scan_finished (); hdrflag = false; fclose (in); - if (ontty && fflush (stdout) == EOF) { - adios("stdout", "failed to fflush"); - } + if (ontty) + fflush (stdout); } } charstring_free (scanl);