Re: [INTERNALS-WIN] RE: svn: /php/php-src/ branches/PHP_5_3/ext/standard/link_win32.c trunk/ext/standard/link_win32.c

[email protected] (Pierre Joye)
Newsgroups php.internals.win
Message-ID <[email protected]>
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<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.