phobo's std.file is completely broke!

Vladimir Panteleev thecybershadow.lists at gmail.com
Thu Sep 20 03:25:55 UTC 2018


On Thursday, 20 September 2018 at 03:23:36 UTC, Nick Sabalausky 
(Abscissa) wrote:
> I'm not sure I'm quite following you. Is this what you mean?:
>
> string dir = ...; // Such that...
> assert( dir.isRelativePath );
> assert( dir.length < MAX_LENGTH-12 );
> assert( dir.toAbsolutePath.length > MAX_LENGTH-12 );
>
> // ??? This *currently* goes BOOM on Windows
> // ??? installations with MAX_LENGTH restriction active?
> rmdir(path);
>
> (Not on a Win box at the moment.)

Correct.


More information about the Digitalmars-d mailing list