From 63c93617ad4000a878702aa5c6eaa3825f0a103d Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 2 Mar 1999 20:05:41 +0000 Subject: [PATCH] [project @ 1999-03-02 20:05:41 by sof] barf: paranoidly flush stderr.. --- ghc/rts/RtsUtils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 1.7.10.4