eitd/xmlutil.cpp: add sync() after epg save is done

This commit is contained in:
[CST] Focus
2015-02-22 19:01:12 +03:00
parent 16ccbafe69
commit 839f78b9e5

View File

@@ -562,11 +562,10 @@ _done:
write_indexxml_footer(indexfile);
fclose(indexfile);
printf("[sectionsd] Writing Information finished\n");
filename = (std::string)epgdir + "/index.xml";
rename(tmpname.c_str(), filename.c_str());
sync();
printf("[sectionsd] Writing Information finished\n");
return ;
}