Possible bug in std.path?

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 19 16:12:10 PDT 2016


On 06/20/2016 12:38 AM, Hugo wrote:
> What you suggest is non-standard in Windows,

I don't buy this. MSDN says about "Parsing C++ Command-Line Arguments" [1]:

 > A double quotation mark preceded by a backslash (\") is interpreted 
as a literal double quotation mark character (").

As we've seen, that's also how Windows' own CommandLineToArgvW function 
behaves. I don't see how you can consider this "non-standard", when 
Windows provides a nice function for it, while there doesn't seem to be 
one for your way, or at least it's harder to find.


[1] https://msdn.microsoft.com/en-us/library/17w5ykft.aspx


More information about the Digitalmars-d mailing list