Re: [INTERNALS-WIN] RE: svn: /php/php-src/ branches/PHP_5_3/ext/standard/link_win32.c trunk/ext/standard/link_win32.c
| From: | Pierre Joye | Date: | Fri, 28 Aug 2009 09:21:37 +0000 |
| Subject: | Re: [INTERNALS-WIN] RE: svn: /php/php-src/ branches/PHP_5_3/ext/standard/link_win32.c trunk/ext/standard/link_win32.c | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-589@lists.php.net to get a copy of this message | ||
hi Christian,
It is actually both \??\ and \\?\.
\??\ tells the underlying the API to do not parse the path before
passing it to the IO functions.
\\?\ is for volume names.
But you are right, comment should be more verbose, I'm fixing a last
issue with mounted volumes. Bettercomment will be commited with it :).
Cheers,
On Fri, Aug 28, 2009 at 10:42 AM, Christian Wenz<chw@hauser-wenz.de> wrote:
> Hi Pierre,
>
>> /* Skip first 4 characters if they are "\??\" */
>> - if(Path[0] == '\\' && Path[0] == '\\'
>> && Path[1] == '?' && Path[2] ==
> '?' && Path[3] == '\\') {
>> + if(Path[0] == '\\' && Path[1] == '\\'
>> && Path[2] == '?' && Path[3] ==
> '\\') {
>
> I read it three times before I finally got it. That愀 most certainly my
> fault, but maybe change the four characters mentioned in the comment to
> \\?\, too, to make it easier for me ;-)
>
> Best regards
> Christian
>
>
>
>
> --
> Windows Internals Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org