Skip to content

Commit 1b60c69

Browse files
author
meister
committed
Remove overwriting of lines - it causes problems in emacs
1 parent f55c168 commit 1b60c69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gctools/snapshotSaveLoad.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ struct copy_progress {
16341634
if (delta > this->_next_progress_tic) {
16351635
this->_next_progress_tic += this->_inc;
16361636
core::lisp_write(
1637-
fmt::format("\rCopy memory to snapshot buffer {:6.2f} done ", (100.0 * (float)delta / (float)this->_size)));
1637+
fmt::format("Copy memory to snapshot buffer {:6.2f} done\n", (100.0 * (float)delta / (float)this->_size)));
16381638
}
16391639
}
16401640
};
@@ -1975,7 +1975,7 @@ struct SaveSymbolCallback : public core::SymbolCallback {
19751975
size_t hitBadPointers = 0;
19761976
for (ssize_t ii = this->_Library._GroupedPointers.size() - 1; ii >= 0; --ii) {
19771977
if (ii % 1000 == 0 && ii > 0) {
1978-
core::lisp_write(fmt::format("\r{} remaining pointers to dladdr ", ii));
1978+
core::lisp_write(fmt::format("{:>5} remaining pointers to dladdr\n", ii));
19791979
}
19801980
uintptr_t address = this->_Library._GroupedPointers[ii]._address;
19811981
std::string saveName("");
@@ -1990,7 +1990,7 @@ struct SaveSymbolCallback : public core::SymbolCallback {
19901990
this->_Library._SymbolBuffer.push_back('\0');
19911991
}
19921992
}
1993-
core::lisp_write(fmt::format("\rAll pointers passed through dladdr \n"));
1993+
core::lisp_write(fmt::format("All pointers passed through dladdr\n"));
19941994
if (hitBadPointers) {
19951995
printf("There were %lu bad pointers - we need to figure out how to get this to zero\n", hitBadPointers);
19961996
abort();

0 commit comments

Comments
 (0)