diff options
Diffstat (limited to 'win/readdir.c')
-rw-r--r-- | win/readdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/readdir.c b/win/readdir.c index 0bd9d6ca2..501e777b0 100644 --- a/win/readdir.c +++ b/win/readdir.c @@ -94,7 +94,7 @@ KDEWIN32_EXPORT DIR * opendir(const char *dir) dp->finished = 0; dp->dir = strdup(dir); - if ((handle = _tqfindfirst(filespec, &(dp->fileinfo))) < 0) { + if ((handle = _findfirst(filespec, &(dp->fileinfo))) < 0) { if (errno == ENOENT) dp->finished = 1; else @@ -112,7 +112,7 @@ KDEWIN32_EXPORT struct dirent * readdir(DIR *dp) if (!dp || dp->finished) return NULL; if (dp->offset != 0) { - if (_tqfindnext(dp->handle, &(dp->fileinfo)) < 0) { + if (_findnext(dp->handle, &(dp->fileinfo)) < 0) { dp->finished = 1; return NULL; } @@ -137,7 +137,7 @@ KDEWIN32_EXPORT struct dirent* readdir_r(DIR *dirp, struct dirent *entry, struct KDEWIN32_EXPORT int closedir(DIR *dp) { if (!dp) return 0; - _tqfindclose(dp->handle); + _findclose(dp->handle); if (dp->dir) free(dp->dir); if (dp) free(dp); |