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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 839f78b9e5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-02-22 (Sun, 22 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2015-02-22 19:01:12 +03:00
parent 10632f81e2
commit f9d5aa1b49

View File

@@ -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 ;
} }