[SCM] Kaboom - Debian KDE 3->4 migration tool branch, master, updated. master/0.9.1-40-gd3eea46
Modestas Vainius
modax-guest at alioth.debian.org
Sat Apr 4 17:23:03 UTC 2009
The following commit has been merged in the master branch:
commit d3eea464e2fa63bb8a0f8f439ee0550ac52d96d6
Author: Modestas Vainius <modestas at vainius.eu>
Date: Sat Apr 4 20:22:50 2009 +0300
Use fsync() instead of sync()
Signed-off-by: Modestas Vainius <modestas at vainius.eu>
diff --git a/kaboomsettings.cpp b/kaboomsettings.cpp
index 8ceedcd..9ed63a4 100644
--- a/kaboomsettings.cpp
+++ b/kaboomsettings.cpp
@@ -126,7 +126,8 @@ bool KaboomSettings::stampExists() const
void KaboomSettings::touchStamp()
{
- m_stampFile.open(QIODevice::WriteOnly);
- m_stampFile.close();
- sync();
+ if (m_stampFile.open(QIODevice::WriteOnly)) {
+ fsync(m_stampFile.handle());
+ m_stampFile.close();
+ }
}
--
Kaboom - Debian KDE 3->4 migration tool
More information about the pkg-kde-commits
mailing list