mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
eitd/xmlutil.cpp: add sync() after epg save is done
This commit is contained in:
@@ -562,11 +562,10 @@ _done:
|
|||||||
write_indexxml_footer(indexfile);
|
write_indexxml_footer(indexfile);
|
||||||
fclose(indexfile);
|
fclose(indexfile);
|
||||||
|
|
||||||
printf("[sectionsd] Writing Information finished\n");
|
|
||||||
|
|
||||||
filename = (std::string)epgdir + "/index.xml";
|
filename = (std::string)epgdir + "/index.xml";
|
||||||
|
|
||||||
rename(tmpname.c_str(), filename.c_str());
|
rename(tmpname.c_str(), filename.c_str());
|
||||||
|
|
||||||
|
sync();
|
||||||
|
printf("[sectionsd] Writing Information finished\n");
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user