Skip to content

Commit 8f91c8e

Browse files
committed
---
yaml --- r: 52195 b: refs/heads/dist-snap c: bea3a7a h: refs/heads/master i: 52193: 6f9df1b 52191: 09c4b89 v: v3
1 parent b27f7fd commit 8f91c8e

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
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: bd737d41a1fca9825e6dea8abcb077aa86463b52
10+
refs/heads/dist-snap: bea3a7a14cdb6eee76d75729b5bb4b367e005225
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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)