www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 397] New: writing an file to a partition without enough free space creates "ghosts" files

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=397

           Summary: writing an file to a partition without enough free space
                    creates "ghosts" files
           Product: D
           Version: 0.168
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


"dmd -c test.d" has to create an object file bigger than the remaining free
space on the device.

 ls -l /cage
total 998 -rw-r----- 1 tk tk 1015808 2006-10-04 09:07 fill
 dmd -c test.d -of/cage/test.o
Error: Error writing file '/cage/test.o'
 ls -l /cage
total 999 -rw-r----- 1 tk tk 0 2006-10-04 09:08 test.o -rw-r----- 1 tk tk 1015808 2006-10-04 09:07 fill The empty test.o shouldn't be there after dmd finishes. The same happens for "dmd -D -o- -Dd/cage" and "dmd -H -o- -Hd/cage". --
Oct 03 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=397


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 0.169


-- 
Oct 10 2006