www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17329] New: File.remove() has problems with long filenames


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

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

std.file.FileException D:\Dlang\dmd2\windows\bin\..\..\src\phobos\std\file.d(733):
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.

Apr 16 2017