1. 05 5月, 2015 6 次提交
    • B
      Auto merge of #24652 - achanda:ip-long, r=alexcrichton · 43562202
      bors 提交于
      43562202
    • B
      Auto merge of #25103 - alexcrichton:issue-25072, r=brson · f49a9843
      bors 提交于
      This was one last spot where directories were being leaked through with
      arguments of the form `\\?\` which neither `ld.exe` nor `gcc.exe` does
      understands so the prefix needed to be stripped.
      
      Closes #25072
      f49a9843
    • A
      rustc_trans: Fix another windows verbatim path · e6c23bb8
      Alex Crichton 提交于
      This was one last spot where directories were being leaked through with
      arguments of the form `\\?\` which neither `ld.exe` nor `gcc.exe` does
      understands so the prefix needed to be stripped.
      
      Closes #25072
      e6c23bb8
    • B
      Auto merge of #25056 - jooert:sometests, r=alexcrichton · 9b481f89
      bors 提交于
      Add several regression tests and remove some unnecessary FIXMEs.
      9b481f89
    • J
      Remove several FIXMEs · e7d052eb
      Johannes Oertel 提交于
      e7d052eb
    • B
      Auto merge of #25078 - nham:std_net_impl_debug, r=alexcrichton · 70db7660
      bors 提交于
      I'm uncertain whether the 3 implementations in `net2` should unwrap the socket address values. Without unwrapping it looks like this:
      
      ```
      UdpSocket { addr: Ok(V4(127.0.0.1:34354)), inner: 3 }
      TcpListener { addr: Ok(V4(127.0.0.1:9123)), inner: 4 }
      TcpStream { addr: Ok(V4(127.0.0.1:9123)), peer: Ok(V4(127.0.0.1:58360)), inner: 5 }
      ```
      
      One issue is that you can create, e.g. `UdpSocket`s with bad addresses, which means you can't just unwrap in the implementation:
      
      ```
      #![feature(from_raw_os)]
      use std::net::UdpSocket;
      use std::os::unix::io::FromRawFd;
      
      let sock: UdpSocket = unsafe { FromRawFd::from_raw_fd(-1) };
      println!("{:?}", sock); // prints "UdpSocket { addr: Err(Error { repr: Os(9) }), inner: -1 }"
      
      ```
      
      Fixes #23134.
      70db7660
  2. 04 5月, 2015 16 次提交
  3. 03 5月, 2015 9 次提交
  4. 02 5月, 2015 9 次提交