Skip to content

Commit c3842af

Browse files
committed
---
yaml --- r: 38373 b: refs/heads/try c: bea3a7a h: refs/heads/master i: 38371: 8cf8642 v: v3
1 parent 61d7ff4 commit c3842af

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
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: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: bd737d41a1fca9825e6dea8abcb077aa86463b52
5+
refs/heads/try: bea3a7a14cdb6eee76d75729b5bb4b367e005225
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/src/libcore/libc.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,9 @@ pub mod types {
514514
}
515515
pub mod extra {
516516
use libc::types::common::c95::c_void;
517-
use libc::types::os::arch::c95::{c_char, c_int,
518-
c_ulong, wchar_t};
517+
use libc::types::os::arch::c95::{c_char, c_int, c_uint};
518+
use libc::types::os::arch::c95::{c_long, c_ulong};
519+
use libc::types::os::arch::c95::{wchar_t};
519520
use libc::types::os::arch::c99::{c_ulonglong};
520521

521522
pub type BOOL = c_int;
@@ -1195,6 +1196,7 @@ pub mod funcs {
11951196
use libc::types::common::c95::c_void;
11961197
use libc::types::os::arch::c95::{c_int, c_uint, c_char,
11971198
c_long, size_t};
1199+
use libc::types::os::arch::c99::intptr_t;
11981200

11991201
#[link_name = "_access"]
12001202
fn access(path: *c_char, amode: c_int) -> c_int;
@@ -1490,6 +1492,10 @@ pub mod funcs {
14901492

14911493
#[cfg(target_os = "win32")]
14921494
pub mod extra {
1495+
use libc::types::os::arch::c95::c_int;
1496+
use libc::types::os::arch::extra::{DWORD, HMODULE, LPCWSTR, LPWSTR};
1497+
use libc::types::os::arch::extra::{BOOL, LPSECURITY_ATTRIBUTES};
1498+
14931499
#[abi = "stdcall"]
14941500
pub extern mod kernel32 {
14951501
fn GetEnvironmentVariableW(n: LPCWSTR,

branches/try/src/libcore/os.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ extern mod rustrt {
6464
fn rust_set_exit_status(code: libc::intptr_t);
6565
}
6666

67-
68-
const tmpbuf_sz : uint = 1000u;
67+
pub const tmpbuf_sz : uint = 1000u;
6968

7069
pub fn getcwd() -> Path {
7170
Path(rustrt::rust_getcwd())
@@ -92,7 +91,9 @@ pub mod win32 {
9291
use libc;
9392
use vec;
9493
use str;
94+
use option::{None, Option};
9595
use option;
96+
use os::tmpbuf_sz;
9697
use libc::types::os::arch::extra::DWORD;
9798

9899
pub fn fill_utf16_buf_and_decode(f: fn(*mut u16, DWORD) -> DWORD)

0 commit comments

Comments
 (0)