phobo's std.file is completely broke!

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Sep 20 15:18:33 UTC 2018


On Thu, Sep 20, 2018 at 03:45:07AM +0000, Vladimir Panteleev via Digitalmars-d wrote:
[...]
> Actually it's crazier than that. The concatenation of the current
> directory plus the relative path must be < MAX_PATH (approx.).
> Meaning, if you are 50 directories deep, a relative path starting with
> 50 `..\` still won't allow you to access C:\file.txt.

Wow. I didn't know Windows came with its own chroot() functionality!

</sarcasm> :-P


T

-- 
My program has no bugs! Only undocumented features...


More information about the Digitalmars-d mailing list