This is the mail archive of the cygwin-developers@cygwin.com 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]

Re: system_printf


----- Original Message -----
From: "egor duda" <deo@logos-m.ru>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin-developers@cygwin.com>
Sent: Sunday, May 06, 2001 9:43 PM
Subject: Re: system_printf


> Hi!
>
> Sunday, 06 May, 2001 Robert Collins robert.collins@itdomain.com.au
wrote:
>
> RC> It's not consistent... it works sometimes and not others. I
_suspect_
> RC> that the times it doesn't work its being called from the
> RC> non-main-thread.
>
> >> I'll do a  make clean and try again then.
> >>
> >> (It's not for me)
> >> Rob
> >>
> >> > >I notice that system_printf no longer writes to the console. Is
> >> > > there a replacement function that does?
> >> >
> >> > system_printf *does* write to the console.
>
> it prints to (GetStdHandle (STD_ERROR_HANDLE))
>
> this may be console, and may be not (is stderr is redirected).
>

Thanks for looking... I ran into this minor problem while debugging the
broadcast problem. I cannot explain _why_ its not always printing, just
that it isn't. ( I had unconditional system_printfs as part of the test
code).

I'll see if I can work up a reproducible test case.

Rob


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