Commit 652b549f authored by simonmar's avatar simonmar

[project @ 2001-11-28 14:29:59 by simonmar]

Don't close the stats file if it is stderr.
parent 46eb785a
/* -----------------------------------------------------------------------------
* $Id: Stats.c,v 1.40 2001/11/27 16:35:57 simonmar Exp $
* $Id: Stats.c,v 1.41 2001/11/28 14:29:59 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -749,7 +749,9 @@ stat_exit(int alloc)
}
fflush(sf);
fclose(sf);
if (sf != stderr) {
fclose(sf);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment