projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-01-18 07:02:59 by sof]
[ghc-hetmet.git]
/
ghc
/
rts
/
Stats.c
diff --git
a/ghc/rts/Stats.c
b/ghc/rts/Stats.c
index
1991090
..
3eb5631
100644
(file)
--- a/
ghc/rts/Stats.c
+++ b/
ghc/rts/Stats.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $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
*
*
* (c) The GHC Team, 1998-1999
*
@@
-749,7
+749,9
@@
stat_exit(int alloc)
}
fflush(sf);
}
fflush(sf);
- fclose(sf);
+ if (sf != stderr) {
+ fclose(sf);
+ }
}
}
}
}