← Commit list

f25252c69

Denys Vlasenko
Denys Vlasenko
2010-01-02
FAILED Duration: 28s

Subject

watch: more compatible screen format

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 →

procps/watch.c+1 -1
@@ -62,7 +62,7 @@ int watch_main(int argc UNUSED_PARAM, char **argv)
strftime(header + width - time_len, time_len,
"%Y-%m-%d %H:%M:%S", localtime(&t));
- puts(header);
+ printf("%s\n\n", header); /* compat: empty line */
}
fflush_all();
// TODO: 'real' watch pipes cmd's output to itself