[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35041: tee: use STDIN_FILENO instead of 0
From: |
Martin Castillo |
Subject: |
bug#35041: tee: use STDIN_FILENO instead of 0 |
Date: |
Fri, 29 Mar 2019 19:16:41 +0100 |
I was reading through tee.c and saw
231: bytes_read = read (0, buffer, sizeof buffer);
Maybe it should read
read(STDIN_FILENO, buffer, sizeof buffer);
?
Greetings,
Martin Castillo
--
GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC
- bug#35041: tee: use STDIN_FILENO instead of 0,
Martin Castillo <=