mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 726503 - FILE_FLAG_SEQUENTIAL_SCAN always being passed for all file IO. r=taras
This commit is contained in:
parent
f432cc5381
commit
e55c0ff914
@ -380,7 +380,7 @@ OpenFile(const nsAFlatString &name, PRIntn osflags, PRIntn mode,
|
||||
flag6 |= FILE_FLAG_DELETE_ON_CLOSE;
|
||||
}
|
||||
|
||||
if (osflags && nsILocalFile::OS_READAHEAD) {
|
||||
if (osflags & nsILocalFile::OS_READAHEAD) {
|
||||
flag6 |= FILE_FLAG_SEQUENTIAL_SCAN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user