bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] getpass echoes on many systems


From: Bruno Haible
Subject: Re: [Bug-gnulib] getpass echoes on many systems
Date: Thu, 2 Oct 2003 11:46:24 +0200
User-agent: KMail/1.5

Larry Jones wrote:
> So neither test is reliable -- we need an auxiliary variable instead.

But the code assumes that stdin and stderr have not been closed (since
in some case these streams are used). This should be documented. Then
there is no need for an auxiliary variable - because assuming that
stdin has not been closed, fopen(something) cannot return stdin.

Bruno





reply via email to

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