Skip to content
Snippets Groups Projects
  1. Jan 16, 2019
    • Alan Somers's avatar
      Fix CMSG_DATA(3) and friends on BSD · 8067378d
      Alan Somers authored
      PR #1098 added the CMSG_DATA(3) family of functions into libc.  Because
      they're defined as macros in C, they had to be rewritten as Rust
      functions for libc.  Also, they can't be tested in CI for the same
      reason.  But that PR erroneously used the same definitions in BSD as in
      Linux.
      
      This commit corrects the definitions for OSX, FreeBSD, DragonflyBSD,
      OpenBSD, and NetBSD.  I renamed a few variables and collapsed a few
      macros in order to combine the definitions where possible.
      
      Fixes #1210
      8067378d
  2. Jan 14, 2019
  3. Jan 13, 2019
  4. Jan 12, 2019
  5. Jan 11, 2019
  6. Jan 09, 2019
  7. Jan 08, 2019
  8. Jan 04, 2019
  9. Jan 03, 2019
  10. Jan 02, 2019
  11. Dec 28, 2018
    • Tom Pusateri's avatar
      Add IP_RECVDSTADDR on netbsd. · 2c95a0dc
      Tom Pusateri authored
      2c95a0dc
    • bors's avatar
      Auto merge of #1184 - pusateri:recvif, r=gnzlbg · 7b3d2c6f
      bors authored
      Add IP_RECVIF to BSD and IP_RECVDSTADDR to apple.
      
      FreeBSD/OpenBSD do not support IP_PKTINFO for IPv4 but use IP_RECVIF for interface index and IP_RECVDSTADDR for destination address.
      NetBSD and macOS also support IP_RECVIF and IP_RECVDSTADDR in addition to IP_PKTINFO.
      (For IPv6, all use IPV6_PKTINFO)
      7b3d2c6f
  12. Dec 27, 2018
  13. Dec 26, 2018
    • bors's avatar
      Auto merge of #1186 - glaubitz:fcntl-fixes, r=alexcrichton · 16b6c0ee
      bors authored
      Define missing F_RDLCK, F_WRLCK and F_UNLCK constants on linux-mips -and s390x
      
      These are defined in the fcntl.h glibc header on MIPS and s390x
      systems on Linux but missing in the libc crate, so add them as they
      are required for the file locking API in rustc.
      16b6c0ee
  14. Dec 25, 2018
  15. Dec 24, 2018
  16. Dec 23, 2018
Loading