Fix file provider enumeration

This commit is contained in:
Theodore Dubois 2018-11-26 15:59:43 -08:00
parent 6c92c51f55
commit 9ae3d8e0e9
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@
## Build 33 (unreleased)
### Fixed
- Segfault while doing large download with pip, due to returning NULL from successful mremap. ffmpeg also had this problem.
- File provider now shows files like it's supposed to.

View File

@ -62,7 +62,7 @@
[observer finishEnumeratingWithError:[self errorFromCode:err]];
return;
}
if (err == 1)
if (err == 0)
break;
if (strcmp(dirent.name, ".") == 0 || strcmp(dirent.name, "..") == 0)
continue;