apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Report of incorrect behaviour of apr_dir_read on win32
Date Wed, 05 Sep 2001 05:01:29 GMT
From: "Mats Nilsson" <mats.nilsson@xware.se>
Sent: Monday, August 06, 2001 12:20 PM


> During my testing the subversion (http://subversion.tigris.org) on the 
> Win32 platform, I ran into some problems with the apr_dir_open/apr_dir_read 
> functions as implemented on Win32.
...> 
> 1. Sometimes the apr translates the directory name into something
> that some Win32 functions don't like.
> 
> Specifically if the directory given to apr_dir_open is given like 
> "d:/some/dir",
> this gets translated inside apr into "\\?\d:\some\dir", a filename format
> that GetNamedSecurityInfoW will not accept.
> 
> On the other hand, if the directory name is given like "d:\some\dir", the
> translation will not take place, and the above mentioned function works.

The other hand was actually a bug.  That is fixed, as well.  d:\some\dir will
now be parsed as \\?\d:\some\dir so it can be of (effectively) unlimited length.

Thanks for that catch too!

Bill


Mime
View raw message