summaryrefslogtreecommitdiffstats
path: root/win/readdir.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /win/readdir.c
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'win/readdir.c')
-rw-r--r--win/readdir.c6
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);