delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/05/06/07:47:59

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <02d901c0d622$0ebe2b70$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "egor duda" <cygwin-developers AT cygwin DOT com>
Cc: <cygwin-developers AT cygwin DOT com>
References: <01fe01c0d5ec$a9cf09d0$0200a8c0 AT lifelesswks> <20010506013632 DOT A899 AT redhat DOT com> <022801c0d5ee$a62fd820$0200a8c0 AT lifelesswks> <027601c0d5fd$28b9a0b0$0200a8c0 AT lifelesswks> <124512247022 DOT 20010506154338 AT logos-m DOT ru>
Subject: Re: system_printf
Date: Sun, 6 May 2001 21:45:30 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 06 May 2001 11:39:52.0057 (UTC) FILETIME=[4377E690:01C0D621]

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


> Hi!
>
> Sunday, 06 May, 2001 Robert Collins robert DOT collins AT itdomain DOT com DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019