Bug 717853 (follow-up): Remove the extra '.' char in the suffix of dumped files. r=me.

--HG--
extra : rebase_source : b57126283ba04ad93ab185c8d0800c41ef6f1793
This commit is contained in:
Nicholas Nethercote 2012-12-11 05:10:37 -08:00
parent b3f233b860
commit b31301cd8c

@ -547,7 +547,7 @@ nsMemoryInfoDumper::DumpMemoryReportsToFileImpl(
// Note that |mrFilename| is missing the "incomplete-" prefix; we'll tack
// that on in a moment.
nsCString mrFilename;
MakeFilename("memory-report", aIdentifier, ".json.gz", mrFilename);
MakeFilename("memory-report", aIdentifier, "json.gz", mrFilename);
nsCOMPtr<nsIFile> mrTmpFile;
nsresult rv;
@ -640,7 +640,7 @@ nsMemoryInfoDumper::DumpMemoryReportsToFileImpl(
// if present).
nsCString dmdFilename;
MakeFilename("dmd", aIdentifier, ".txt.gz", dmdFilename);
MakeFilename("dmd", aIdentifier, "txt.gz", dmdFilename);
nsCOMPtr<nsIFile> dmdFile;
rv = OpenTempFile(dmdFilename, getter_AddRefs(dmdFile));