util-linux/term-utils
Stanislav Brabec b0853a08db agetty: Remove superfluous fflush()
eval_issue_file() contains fflush(stdout). It comes from an old code that
used fputs() to write to the console.

In the new code, we write to a temporary memstream, and
fclose(ie->output) fully replaces possible fflush(ie->output) in this
implementation.

The new print_issue_file() does not need it as well, as it uses
unbuffered write_all().

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
2019-06-21 14:38:32 +02:00
..
Makemodule.am mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
agetty.8 agetty.8: Avoid a warning about an unbreakable line 2018-08-06 08:58:57 +02:00
agetty.c agetty: Remove superfluous fflush() 2019-06-21 14:38:32 +02:00
mesg.1 mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
mesg.c mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
script.1 script: record exit code 2018-05-14 13:51:01 +02:00
script.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
scriptreplay.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
scriptreplay.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
setterm.1 setterm: fix --hbcolor description 2019-03-08 21:27:59 +01:00
setterm.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wall.c wall: make sure ut_line is not empty 2019-06-06 12:33:03 +02:00
write.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
write.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00