← Commit list

0d1d0f6e5

Denys Vlasenko
Denys Vlasenko
2010-12-13
FAILED Duration: 217s

Subject

more: smaller version of previous fix

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/more.c+1 -3
@@ -191,9 +191,7 @@ int more_main(int argc UNUSED_PARAM, char **argv)
}
/* My small mind cannot fathom backspaces and UTF-8 */
putchar(c);
-
- if (ferror(stdout)) /* if tty was destroyed (closed xterm, etc) */
- goto end;
+ die_if_ferror_stdout(); /* if tty was destroyed (closed xterm, etc) */
}
fclose(file);
fflush_all();