mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
patch of Ge van Geldorp <ge@gse.nl>: added error handling for BackupRead()
svn path=/trunk/; revision=6978
This commit is contained in:
parent
d59d3daf21
commit
2fac53c867
1 changed files with 3 additions and 2 deletions
|
@ -111,6 +111,7 @@ int ScanNTFSStreams(Entry* entry, HANDLE hFile)
|
|||
}
|
||||
}
|
||||
|
||||
if (ctx)
|
||||
if (!BackupRead(hFile, 0, 0, &read, TRUE, FALSE, &ctx)) // terminate BackupRead() loop
|
||||
THROW_EXCEPTION(GetLastError());
|
||||
|
||||
|
|
Loading…
Reference in a new issue