diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-07 14:12:29 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-07 14:12:29 +0000 |
commit | 9045af4eedac8be569520abce68d8557d6b36be5 (patch) | |
tree | 039190a86cbb55e0b0bf01d10426199abe66bf30 | |
parent | 5a35ba1b85320dde09a411326655e8219711dd57 (diff) | |
download | libapr-9045af4eedac8be569520abce68d8557d6b36be5.tar.gz |
mention some problems with apr_dir_rewind() for Win32
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62116 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | file_io/win32/dir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/file_io/win32/dir.c b/file_io/win32/dir.c index b206dfb49..cc048737c 100644 --- a/file_io/win32/dir.c +++ b/file_io/win32/dir.c @@ -257,6 +257,12 @@ APR_DECLARE(apr_status_t) apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted, APR_DECLARE(apr_status_t) apr_dir_rewind(apr_dir_t *dir) { + /* XXX FIXME... + * 1) dir_cleanup() does FindClose(), so the FindClose() call + * here will always return a meaningless error (bad handle). + * 2) Don't we need to re-open the directory, or is there a + * Win32 way to rewind? + */ dir_cleanup(dir); if (!FindClose(dir->dirhand)) { return apr_get_os_error(); |