[Issue 17329] New: File.remove() has problems with long filenames (>128 bytes)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 16 06:48:16 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17329

          Issue ID: 17329
           Summary: File.remove() has problems with long filenames (>128
                    bytes)
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: arkay at gmx.net

This is a rather weird issue that only pops up in a release build:

std.file.FileException at D:\Dlang\dmd2\windows\bin\..\..\src\phobos\std\file.d(733):
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234.cbr:
The system cannot find the file specified.

Filenames up to 128 bytes work fine, anything above it throws this exception.

Building in Visual Studio 2017, output is MS-COFF. The debug build works fine.

--


More information about the Digitalmars-d-bugs mailing list