# HG changeset patch # User Frank Benoit # Date 1217567770 -7200 # Node ID 463d461e6e78317088980dea7c579421f5ef9351 # Parent 77eda8eca295a35ee44d9124f0148e1e27fb19dd Fix path handling, thanks yidabu for reporting. diff -r 77eda8eca295 -r 463d461e6e78 dwt/dwthelper/File.d --- a/dwt/dwthelper/File.d Tue Jul 29 02:41:05 2008 +0200 +++ b/dwt/dwthelper/File.d Fri Aug 01 07:16:10 2008 +0200 @@ -7,6 +7,7 @@ static import tango.io.model.IFile; static import tango.io.FilePath; +static import tango.io.Path; static import tango.io.FileSystem; public class File { @@ -26,7 +27,7 @@ } public this ( String pathname ){ - mFilePath = new tango.io.FilePath.FilePath( pathname ); + mFilePath = new tango.io.FilePath.FilePath( tango.io.Path.standard( pathname )); } public this ( String parent, String child ){ diff -r 77eda8eca295 -r 463d461e6e78 dwt/internal/win32/OS.d --- a/dwt/internal/win32/OS.d Tue Jul 29 02:41:05 2008 +0200 +++ b/dwt/internal/win32/OS.d Fri Aug 01 07:16:10 2008 +0200 @@ -34,7 +34,6 @@ import tango.stdc.string : memset, strlen; import tango.stdc.stringz : toString16z; import tango.text.convert.Utf : toString16; -import tango.io.FilePath; static import tango.io.TempFile; import tango.io.File;