diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 436501fe70..4418ab0884 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -255,6 +255,7 @@ unsigned long FileName::checksum() const LYXERR0('\\' << absFilename() << "\" is a directory!"); return 0; } + LYXERR0("Checksumming \"" << absFilename() << "\"."); return sum(absFilename().c_str()); } diff --git a/src/support/lyxsum.cpp b/src/support/lyxsum.cpp index 1463927a68..161a964506 100644 --- a/src/support/lyxsum.cpp +++ b/src/support/lyxsum.cpp @@ -54,7 +54,7 @@ namespace support { unsigned long sum(char const * file) { - LYXERR(Debug::FILES, "lyx::sum() using mmap (lightning fast)"); + //LYXERR(Debug::FILES, "lyx::sum() using mmap (lightning fast)"); int fd = open(file, O_RDONLY); if (!fd) @@ -116,7 +116,7 @@ using std::istreambuf_iterator; unsigned long sum(char const * file) { - LYXERR(Debug::FILES, "lyx::sum() using istreambuf_iterator (fast)"); + //LYXERR(Debug::FILES, "lyx::sum() using istreambuf_iterator (fast)"); ifstream ifs(file, std::ios_base::in | std::ios_base::binary); if (!ifs) @@ -134,7 +134,7 @@ using std::ios; unsigned long sum(char const * file) { - LYXERR(Debug::FILES, "lyx::sum() using istream_iterator (slow as a snail)"); + //LYXERR(Debug::FILES, "lyx::sum() using istream_iterator (slow as a snail)"); // a directory may be passed here so we need to test it. (bug 3622) if (file.isDirectory())