- Sep 02, 2019
-
-
Luke Petre authored
-
- Sep 01, 2019
-
-
Alan Somers authored
-
- Aug 21, 2019
-
-
Sébastien Marie authored
-
- Aug 18, 2019
-
-
Sébastien Marie authored
-
- Aug 17, 2019
-
-
Luke Petre authored
Adding OpenBSD as per request, verified here: https://github.com/openbsd/src/blob/master/sys/sys/stat.h#L188
-
Luke Petre authored
-
- Aug 16, 2019
- Aug 15, 2019
-
-
Sébastien Marie authored
-
Sébastien Marie authored
-
- Aug 14, 2019
-
-
gnzlbg authored
-
- Aug 05, 2019
-
-
Sébastien Marie authored
-
- Jul 28, 2019
-
-
Luca Pizzamiglio authored
-
Luca Pizzamiglio authored
Currently, libc supports and detects freebsd11 and freebsd13 Unknown versions, like freebsd13, is treated as freebsd11. This patch solve the issues, detecting freebsd13 and treating it like freebsd12. Inverting the logic not(freebsd12) -> freebsd11 where possible
-
- Jul 27, 2019
-
-
gnzlbg authored
-
- Jul 21, 2019
-
-
Luca Pizzamiglio authored
-
Luca Pizzamiglio authored
Currently, libc supports and detects freebsd11 and freebsd13 Unknown versions, like freebsd13, is treated as freebsd11. This patch solve the issues, detecting freebsd13 and treating it like freebsd12. Inverting the logic not(freebsd12) -> freebsd11 where possible
-
- Jul 11, 2019
-
-
Joe Richey authored
-
Joe Richey authored
-
Joe Richey authored
-
- Jul 09, 2019
-
-
Douman authored
Exposes value for most unix like platforms
-
- Jul 05, 2019
-
-
Bryant Mairs authored
These constants have already been deprecated for a few releases with a deprecation notice, so they can finally be removed. Closes rust-lang/libc#665
-
- Jun 10, 2019
-
-
Bryant Mairs authored
sigevent structs on most platforms have padding or unused fields. Rather than display those in the Debug impl by deriving it, manually implement all extra_traits instead ignoring those fields.
-
- Jun 07, 2019
-
-
Torbjørn Birch Moltu authored
-
Torbjørn Birch Moltu authored
* Change the type of FIONCLEX on apple platforms from c_uint to c_ulong * Add FIONCLEX, FIONREAD, FIOASYNC, FIOSETOWN and FIOGETOWN for DragonFly and OpenBSD
-
- May 29, 2019
- May 27, 2019
-
-
gnzlbg authored
-
Bryant Mairs authored
The `pad` or `__reserved` fields are not always 0 on some platforms, so when used in the `PartialEq` implementation being used, fails some comparisons. This commit manually implements the extra traits to correct this behavior.
-
- May 24, 2019
-
-
gnzlbg authored
This commits adds a second FreeBSD 12 build job, and splits the implementation of the FreeBSD module into two modules, one for FreeBSD 11, and one for FreeBSD 12. The FreeBSD 11 module is compiled always by default, and is mostly forward compatible with FreeBSD 12 systems. The FreeBSD 12 module is only built for now in libc's CI, and uses FreeBSD 12 data types and APIs, linking to symbols that are only available in FreeBSD 12. Basically, when LIBC_CI env variable is defined, and the host system is a FreeBSD 12 system, then the FreeBSD 12 module is automatically built and tested. Conditional compilation is done using a `cfg(freebsd12)` flag. This commit also re-enables many tests, and documents why some remain disabled.
-
gnzlbg authored
Closes #981 .
-
- May 23, 2019
-
-
gnzlbg authored
-
Sébastien Marie authored
-
- May 22, 2019
-
-
gnzlbg authored
-
gnzlbg authored
The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html openbsd: https://man.openbsd.org/gettimeofday.2 android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday§ion=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal. Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338.
-
- May 16, 2019
-
-
gnzlbg authored
See https://github.com/rust-lang/rust/pull/60775 .
-
- Apr 29, 2019
-
-
Charles Lew authored
-
- Apr 05, 2019
-
-
Kevin Kuehler authored
-
- Mar 27, 2019
-
-
Torbjørn Birch Moltu authored
-
Torbjørn Birch Moltu authored
-