stderr ?= stdout

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jan 13 10:22:00 GMT 2005


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/



More information about the Cygwin mailing list