Subject: tee: use STDIN_FILENO instead of 0
From: Martin Castillo <[email-masked]>
To: [email-masked]
Date: Fri, 29 Mar 2019 19:16:41 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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