Skip to content

Commit 8bca8e0

Browse files
committed
---
yaml --- r: 118354 b: refs/heads/try c: 5ede96c h: refs/heads/master v: v3
1 parent 0281c80 commit 8bca8e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3770c42a4959cbabc73da52abc7e3db96657974e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: d6736a1440d42f6af967a8a20ab8d73522112b72
5-
refs/heads/try: 24cbe384236b28512f0b8bc22343fbe4c4481c62
5+
refs/heads/try: 5ede96c2fd62a63e75cb5faf073933d914f3eeaf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libnative/io/file_win32.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use std::mem;
1818
use std::os::win32::fill_utf16_buf_and_decode;
1919
use std::ptr;
2020
use std::rt::rtio;
21-
use std::rt::rtio::IoResult;
21+
use std::rt::rtio::{IoResult, IoError};
2222
use std::str;
2323
use std::vec;
2424

@@ -412,7 +412,7 @@ pub fn rename(old: &CString, new: &CString) -> IoResult<()> {
412412
pub fn chmod(p: &CString, mode: uint) -> IoResult<()> {
413413
let p = try!(to_utf16(p));
414414
super::mkerr_libc(unsafe {
415-
libc::wchmod(p.as_ptr(), mode.bits() as libc::c_int)
415+
libc::wchmod(p.as_ptr(), mode as libc::c_int)
416416
})
417417
}
418418

0 commit comments

Comments
 (0)