use fdatasync for both file and swap file
authorChristoph Cullmann <cullmann@kde.org>
Mon, 5 Jul 2010 19:53:52 +0000 (21:53 +0200)
committerChristoph Cullmann <cullmann@kde.org>
Mon, 5 Jul 2010 19:53:52 +0000 (21:53 +0200)
commit28e66a32176946373dacee9f84aa4c1208e2bc31
treed012d44a4bcebeddac146b3a8b5e2ad63576e1fc
parentf5ad36c292d7fce1b41097dc14e751037fbeba06
use fdatasync for both file and swap file
BUG: 203631
BUG: 76942
in addition, we have no vim like swap files, which will avoid any lost work, if kate crash during saving, too
they are fdatasynced, too
part/buffer/katetextbuffer.cpp
part/swapfile/kateswapfile.cpp