[Libreoffice-commits] core.git: desktop/source
Michael Stahl
mstahl at redhat.com
Mon Feb 29 15:33:14 UTC 2016
desktop/source/app/app.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8dcdd792528f2695e770e536ea3244420cdf3731
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Feb 29 16:30:48 2016 +0100
desktop: fix infinite loop with --enable-breakpad
Change-Id: I81a0405edc29fa7205d00a5cb920b2d0e800602e
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 3d0435b..2b4782c0 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1029,7 +1029,7 @@ bool crashReportInfoExists()
#if HAVE_FEATURE_BREAKPAD
std::string path = CrashReporter::getIniFileName();
std::ifstream aFile(path);
- while (!aFile.eof())
+ while (aFile.good())
{
std::string line;
std::getline(aFile, line);
More information about the Libreoffice-commits
mailing list