Replaced the call to system("sync") in SpinUpDisk() with fdatasync(f) to avoid problems on NPTL systems

This commit is contained in:
Klaus Schmidinger
2005-02-19 13:51:44 +01:00
parent 605cd54280
commit 4871f1188e
3 changed files with 9 additions and 2 deletions

View File

@@ -3424,3 +3424,5 @@ Video Disk Recorder Revision History
(thanks to Marco Schl<68><6C>ler).
- Fixed calling cStatus::MsgChannelSwitch() in cDevice::SetChannel() (thanks to
Marco Schl<68><6C>ler).
- Replaced the call to system("sync") in SpinUpDisk() with fdatasync(f) to avoid
problems on NPTL systems (thanks to Chris Warren for pointing this out).