October 04, 2006
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".


-- 

October 10, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=397


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2006-10-10 03:30 -------
Fixed DMD 0.169


--