Ticket #1070: tango.remove.patch
| File tango.remove.patch, 0.8 kB (added by e-t172, 7 months ago) |
|---|
Correct implementation of remove() |
-
io/Path.d
old new 752 752 753 753 static void remove (char[] name) 754 754 { 755 if (isFolder (name)) 756 { 757 if (posix.rmdir (name.ptr)) 758 exception (name); 759 } 760 else 761 if (tango.stdc.stdio.remove (name.ptr) == -1) 762 exception (name); 755 if (tango.stdc.stdio.remove (name.ptr) == -1) 756 exception (name); 763 757 } 764 758 765 759 /***************************************************************










