"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes:

> >   --- dir.c 2001/08/06 21:04:50 1.57
> >   +++ dir.c 2001/08/07 14:12:29 1.58
> >   @@ -257,6 +257,12 @@
> >    
> >    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).
> 
> Outch
> 
> >   +     * 2) Don't we need to re-open the directory, or is there a
> >   +     *    Win32 way to rewind?
> 
> No.  By closing (and marking the handle as closed) the next apr_dir_read
> will reopen the directory walk.  There is no such thing as an 'open dir'
> on win32, you are either reading the first, or the next entry.

thanks for the info...  that certainly makes the fix easy :)

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to