xbmc/xbmc — pull request #5465 by Karlson2k (2014-10-06 18:48:11+00:00)
Title: Better handle Read/Write errors in PosixFile and Win32File

Invalidate io pointer on Win32 as it's unknown where read/write was aborted, force update io pointer on Posix for `posix_fadvise`.