mirror of
https://github.com/wiiu-env/libmocha.git
synced 2026-09-07 09:45:09 -05:00
Fix possible race condition in fsa_dirnext
Also some minor line changes to make em match a bit better!
This commit is contained in:
@@ -15,8 +15,7 @@ off_t __fsa_seek(struct _reent *r,
|
||||
return -1;
|
||||
}
|
||||
|
||||
auto *file = (__fsa_file_t *) fd;
|
||||
|
||||
auto *file = (__fsa_file_t *) fd;
|
||||
auto *deviceData = (FSADeviceData *) r->deviceData;
|
||||
|
||||
std::lock_guard<MutexWrapper> lock(file->mutex);
|
||||
|
||||
Reference in New Issue
Block a user