File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ fn change_dir(p: path) -> bool {
183
183
184
184
#[ cfg( target_os = "win32" ) ]
185
185
fn chdir ( _p : path ) -> bool {
186
- ret str:: as_buf ( _p, { |buf| os:: kernel32:: SetCurrentDirectory ( buf) } ) ;
186
+ ret str:: as_buf ( _p, { |buf| os:: kernel32:: SetCurrentDirectoryA ( buf) } ) ;
187
187
}
188
188
189
189
#[ cfg( target_os = "linux" ) ]
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ native mod kernel32 {
55
55
fn CreateDirectoryA ( lpPathName : LPCTSTR ,
56
56
lpSecurityAttributes : LPSECURITY_ATTRIBUTES ) -> bool ;
57
57
fn RemoveDirectoryA ( lpPathName : LPCTSTR ) -> bool ;
58
- fn SetCurrentDirectory ( lpPathName : LPCTSTR ) -> bool ;
58
+ fn SetCurrentDirectoryA ( lpPathName : LPCTSTR ) -> bool ;
59
59
}
60
60
61
61
// FIXME turn into constants
You can’t perform that action at this time.
0 commit comments