phobo's std.file is completely broke!

Vladimir Panteleev thecybershadow.lists at gmail.com
Wed Sep 19 11:11:15 UTC 2018


On Wednesday, 19 September 2018 at 11:04:13 UTC, Vladimir 
Panteleev wrote:
> On Wednesday, 19 September 2018 at 05:49:41 UTC, Nick 
> Sabalausky (Abscissa) wrote:
>> 2. Detect and reject any non-\\?\ path longer than MAX_PATH-12 
>> bytes[5].
>
> This is not a good criteria: relative paths whose pointing to 
> objects whose absolute path exceeds MAX_PATH will fail, too. 
> So, it looks like Phobos would need to expand relative paths 
> unconditionally.

Here is my test program:
https://gist.github.com/CyberShadow/049cf06f4ec31b205dde4b0e3c12a986



More information about the Digitalmars-d mailing list