From: sof Date: Tue, 2 Mar 1999 20:05:41 +0000 (+0000) Subject: [project @ 1999-03-02 20:05:41 by sof] X-Git-Tag: Approximately_9120_patches~6445 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=63c93617ad4000a878702aa5c6eaa3825f0a103d;p=ghc-hetmet.git [project @ 1999-03-02 20:05:41 by sof] barf: paranoidly flush stderr.. --- diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 95afe0c..081c205 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.c,v 1.6 1999/02/05 16:02:51 simonm Exp $ + * $Id: RtsUtils.c,v 1.7 1999/03/02 20:05:41 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -35,6 +35,7 @@ void barf(char *s, ...) } vfprintf(stderr, s, ap); fprintf(stderr, "\n"); + fflush(stderr); stg_exit(EXIT_FAILURE); }