Skip to content

Commit 3105ddf

Browse files
committed
---
yaml --- r: 129119 b: refs/heads/master c: 1c76d55 h: refs/heads/master i: 129117: 7e526ca 129115: 5f90e6f 129111: c388f76 129103: f38df9f 129087: 3c8bb4b v: v3
1 parent fd40c42 commit 3105ddf

File tree

141 files changed

+621
-1427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+621
-1427
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0b3e43d2a47ecf4908a912c1144942e5216703ea
2+
refs/heads/master: 1c76d559c37bf313a31e260b986255cc45912014
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a86d9ad15e339ab343a12513f9c90556f677b9ca
55
refs/heads/try: 961753763fb87ddcbbccaec4ea87648608d19a58

trunk/src/libfmt_macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl<'a> Parser<'a> {
200200
self.cur.next();
201201
}
202202
Some((_, other)) => {
203-
self.err(format!("expected `{}`, found `{}`",
203+
self.err(format!("expected `{}` but found `{}`",
204204
c,
205205
other).as_slice());
206206
}

trunk/src/libnative/io/c_windows.rs

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ pub static ENABLE_INSERT_MODE: libc::DWORD = 0x20;
2626
pub static ENABLE_LINE_INPUT: libc::DWORD = 0x2;
2727
pub static ENABLE_PROCESSED_INPUT: libc::DWORD = 0x1;
2828
pub static ENABLE_QUICK_EDIT_MODE: libc::DWORD = 0x40;
29-
pub static WSA_INVALID_EVENT: WSAEVENT = 0 as WSAEVENT;
30-
31-
pub static FD_ACCEPT: libc::c_long = 0x08;
32-
pub static FD_MAX_EVENTS: uint = 10;
33-
pub static WSA_INFINITE: libc::DWORD = libc::INFINITE;
34-
pub static WSA_WAIT_TIMEOUT: libc::DWORD = libc::consts::os::extra::WAIT_TIMEOUT;
35-
pub static WSA_WAIT_EVENT_0: libc::DWORD = libc::consts::os::extra::WAIT_OBJECT_0;
36-
pub static WSA_WAIT_FAILED: libc::DWORD = libc::consts::os::extra::WAIT_FAILED;
3729

3830
#[repr(C)]
3931
#[cfg(target_arch = "x86")]
@@ -60,16 +52,6 @@ pub struct WSADATA {
6052

6153
pub type LPWSADATA = *mut WSADATA;
6254

63-
#[repr(C)]
64-
pub struct WSANETWORKEVENTS {
65-
pub lNetworkEvents: libc::c_long,
66-
pub iErrorCode: [libc::c_int, ..FD_MAX_EVENTS],
67-
}
68-
69-
pub type LPWSANETWORKEVENTS = *mut WSANETWORKEVENTS;
70-
71-
pub type WSAEVENT = libc::HANDLE;
72-
7355
#[repr(C)]
7456
pub struct fd_set {
7557
fd_count: libc::c_uint,
@@ -86,21 +68,6 @@ extern "system" {
8668
pub fn WSAStartup(wVersionRequested: libc::WORD,
8769
lpWSAData: LPWSADATA) -> libc::c_int;
8870
pub fn WSAGetLastError() -> libc::c_int;
89-
pub fn WSACloseEvent(hEvent: WSAEVENT) -> libc::BOOL;
90-
pub fn WSACreateEvent() -> WSAEVENT;
91-
pub fn WSAEventSelect(s: libc::SOCKET,
92-
hEventObject: WSAEVENT,
93-
lNetworkEvents: libc::c_long) -> libc::c_int;
94-
pub fn WSASetEvent(hEvent: WSAEVENT) -> libc::BOOL;
95-
pub fn WSAWaitForMultipleEvents(cEvents: libc::DWORD,
96-
lphEvents: *const WSAEVENT,
97-
fWaitAll: libc::BOOL,
98-
dwTimeout: libc::DWORD,
99-
fAltertable: libc::BOOL) -> libc::DWORD;
100-
pub fn WSAEnumNetworkEvents(s: libc::SOCKET,
101-
hEventObject: WSAEVENT,
102-
lpNetworkEvents: LPWSANETWORKEVENTS)
103-
-> libc::c_int;
10471

10572
pub fn ioctlsocket(s: libc::SOCKET, cmd: libc::c_long,
10673
argp: *mut libc::c_ulong) -> libc::c_int;
@@ -115,12 +82,6 @@ extern "system" {
11582
optval: *mut libc::c_char,
11683
optlen: *mut libc::c_int) -> libc::c_int;
11784

118-
pub fn SetEvent(hEvent: libc::HANDLE) -> libc::BOOL;
119-
pub fn WaitForMultipleObjects(nCount: libc::DWORD,
120-
lpHandles: *const libc::HANDLE,
121-
bWaitAll: libc::BOOL,
122-
dwMilliseconds: libc::DWORD) -> libc::DWORD;
123-
12485
pub fn CancelIo(hFile: libc::HANDLE) -> libc::BOOL;
12586
pub fn CancelIoEx(hFile: libc::HANDLE,
12687
lpOverlapped: libc::LPOVERLAPPED) -> libc::BOOL;

0 commit comments

Comments
 (0)