[Issue 397] New: writing an file to a partition without enough free space creates "ghosts" files
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 3 23:36:37 PDT 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 at digitalmars.com
ReportedBy: thomas-dloop at 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".
--
More information about the Digitalmars-d-bugs
mailing list