summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-06-03 03:25:57 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-06-03 03:25:57 +0000
commit680e2ddc6abcebb3f7d39581d616950b85b33bca (patch)
tree5f4fcc9a9d04da83a693d361d3772c814cc526f2 /rts
parentb5929f6f89da35604af83fb6e823f854c3345080 (diff)
downloadhaskell-680e2ddc6abcebb3f7d39581d616950b85b33bca.tar.gz
+RTS -S- is the same as +RTS -Sstderr
Diffstat (limited to 'rts')
-rw-r--r--rts/RtsFlags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index 4f69f49fec..186ded3357 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -2335,7 +2335,7 @@ open_stats_file (
{
FILE *f = NULL;
- if (strequal(rts_argv[arg]+2, "stderr")) { /* use debugBelch */
+ if (strequal(rts_argv[arg]+2, "stderr") || strequal(rts_argv[arg]+2, "-")) {
f = NULL; /* NULL means use debugBelch */
} else {
if (rts_argv[arg][2] != '\0') { /* stats file specified */