This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stderr ?= stdout


On Jan 12 15:14, Sam Steingold wrote:
> alas, the current cygwin reports different inodes for stdout and stderr:
>   -437397064 and 593767114

That looks suspicious.  Are you aware that ino_t is a 64 bit int?

> so, what is the right way to check that two FDs refer to the
> same device?

You didn't tell which device stdout and stderr are connected to.
Are you running this in a local console?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]