← Commit list

d4d01d2b9

Eric Andersen
Eric Andersen
2004-05-26
FAILED Duration: 27s

Subject

Rob Landley writes:

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 →

coreutils/tee.c+1 -1
@@ -78,7 +78,7 @@ int tee_main(int argc, char **argv)
*p = NULL; /* Store the sentinal value. */
#ifdef CONFIG_FEATURE_TEE_USE_BLOCK_IO
- while ((c = fread(buf, 1, BUFSIZ, stdin)) != 0) {
+ while ((c = read(0, buf, BUFSIZ)) != 0) {
for (p=files ; *p ; p++) {
fwrite(buf, 1, c, *p);
}