emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#35041: closed (tee: use STDIN_FILENO instead of 0)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35041: closed (tee: use STDIN_FILENO instead of 0)
Date: Sat, 30 Mar 2019 22:10:01 +0000

Your message dated Sat, 30 Mar 2019 15:09:51 -0700
with message-id <address@hidden>
and subject line Re: bug#35041: tee: use STDIN_FILENO instead of 0
has caused the debbugs.gnu.org bug report #35041,
regarding tee: use STDIN_FILENO instead of 0
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
35041: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35041
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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



--- End Message ---
--- Begin Message --- Subject: Re: bug#35041: tee: use STDIN_FILENO instead of 0 Date: Sat, 30 Mar 2019 15:09:51 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 29/03/19 11:16, Martin Castillo wrote:
> 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

Pushed:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=ba36d51

marking this as done.

thanks,
Pádraig


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]