Commit 9b5e0886 authored by panne's avatar panne
Browse files

[project @ 2004-03-19 23:20:20 by panne]

Fixed  the JOB line in heap  profiles, it contained superfluous spaces
and an evil line break.

Merge to STABLE
(This fix looks quite right, but again, I leave this to the Master of
Releases (tm), because there might already be tools depending on the
slightly wrong old format.)
parent 06ebaa8c
/* -----------------------------------------------------------------------------
* $Id: ProfHeap.c,v 1.50 2003/11/12 17:49:08 sof Exp $
* $Id: ProfHeap.c,v 1.51 2004/03/19 23:20:20 panne Exp $
*
* (c) The GHC Team, 1998-2003
*
......@@ -430,10 +430,9 @@ initHeapProfiling(void)
int count;
for(count = 1; count < prog_argc; count++)
fprintf(hp_file, " %s", prog_argv[count]);
fprintf(hp_file, " +RTS ");
fprintf(hp_file, " +RTS");
for(count = 0; count < rts_argc; count++)
fprintf(hp_file, "%s ", rts_argv[count]);
fprintf(hp_file, "\n");
fprintf(hp_file, " %s", rts_argv[count]);
}
#endif /* PROFILING */
......
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