Skip to content

Commit c936566

Browse files
committed
---
yaml --- r: 6539 b: refs/heads/master c: dfb2c15 h: refs/heads/master i: 6537: 54a8394 6535: 1de40c7 v: v3
1 parent c64e1d0 commit c936566

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 9b3f8bf2a9a78ab41f6dc112162a64287ce56d89
2+
refs/heads/master: dfb2c15bbaff69b47240e81f6331fb11cbc24e48

trunk/src/lib/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ fn change_dir(p: path) -> bool {
183183

184184
#[cfg(target_os = "win32")]
185185
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)});
187187
}
188188

189189
#[cfg(target_os = "linux")]

trunk/src/lib/win32_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ native mod kernel32 {
5555
fn CreateDirectoryA(lpPathName: LPCTSTR,
5656
lpSecurityAttributes: LPSECURITY_ATTRIBUTES) -> bool;
5757
fn RemoveDirectoryA(lpPathName: LPCTSTR) -> bool;
58-
fn SetCurrentDirectory(lpPathName: LPCTSTR) -> bool;
58+
fn SetCurrentDirectoryA(lpPathName: LPCTSTR) -> bool;
5959
}
6060

6161
// FIXME turn into constants

0 commit comments

Comments
 (0)