- May 01, 2020
-
-
Will authored
-
- Apr 13, 2020
-
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Yuki Okushi authored
-
- Mar 08, 2020
-
-
Yuki Okushi authored
-
- Mar 06, 2020
-
-
Benjamin Saunders authored
-
- Feb 29, 2020
-
-
Yuki Okushi authored
-
- Feb 12, 2020
-
-
Vickenty Fesunov authored
This triggers a warning on a recent nightly, which in turn breaks CI due to `#![deny(warnings)]` in libc-test/build.rs
-
- Dec 02, 2019
-
-
Matthew McPherrin authored
sock_extended_err is a struct returned as a control message when the sockopt IP_RECVERR is set, when recvmsg has the MSG_ERRQUEUE flag set. IP_RECVERR and MSG_ERRQUEUE are constants both already defined here.
-
- Nov 22, 2019
-
-
Arthur Gautier authored
This reverts commit 6ff2e8f1.
-
- Nov 17, 2019
-
-
Amanieu d'Antras authored
-
- Nov 05, 2019
-
-
Arthur Gautier authored
Signed-off-by:
Arthur Gautier <baloo@gandi.net>
-
Arthur Gautier authored
Signed-off-by:
Arthur Gautier <baloo@gandi.net>
-
Arthur Gautier authored
Signed-off-by:
Arthur Gautier <baloo@gandi.net>
-
Arthur Gautier authored
Signed-off-by:
Arthur Gautier <baloo@gandi.net>
-
- Oct 31, 2019
-
-
patrick felt authored
Signed-off-by:
patrick felt <patrick.felt@sling.com>
-
- Oct 28, 2019
-
-
Aaron Hill authored
Add a new feature to enable this, since `const extern fn` support is unstable
-
- Sep 12, 2019
-
-
gnzlbg authored
-
- Jul 28, 2019
-
-
Temirkhan Myrzamadi authored
-
- 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 03, 2019
-
-
gnzlbg authored
-
- May 31, 2019
- May 29, 2019
-
-
gnzlbg authored
-
- May 28, 2019
-
-
gnzlbg authored
-
- May 27, 2019
-
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
Bryant Mairs authored
`nl_pad` field does not contain any actual data, so using it for comparison or hashing doesn't make sense. Instead manually implement extra traits ignoring this field.
-
- May 23, 2019
- May 22, 2019
-
-
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.
-
- Apr 07, 2019
-
-
Kevin Kuehler authored
-
- Apr 05, 2019
-
-
Kevin Kuehler authored
-
- Mar 26, 2019
-
-
gnzlbg authored
-
- Mar 25, 2019
- Mar 04, 2019
-
-
Bryant Mairs authored
-
- Feb 23, 2019
-
-
Bryant Mairs authored
-
- Feb 22, 2019
-
-
gnzlbg authored
This cleans up the build.rs of `libc-test` for apple targets. I wanted to update the docker containers of some targets so that we can start testing newer currently-skipped APIs properly, but it is impossible to figure out which headers and APIs are skipped for each target. This PR separates the testing of apple targets into its own self-contained function. This allows seeing exactly which headers are included, and which items are skipped. A lot of work will be required to separate the testing of all major platforms and make the script reasonable. During the clean up, I discovered that, at least for apple targets, deprecated but not removed APIs are not tested. I re-enabled testing for those, and fixed `daemon`, which was not properly linking its symbol. I also added the `#[deprecated]` attribute to the `#[deprecated]` APIs of the apple targets. The attribute is available since Rust 1.9.0 and the min. Rust version we support is Rust 1.13.0. Many other APIs are also currently not tested "because they are weird" which I interpret as "the test failed for an unknown reason", as a consequence: * the signatures of execv, execve, and execvp are incorrect (see https://github.com/rust-lang/libc/issues/1272) * the `sig_t` type is called `sighandler_t` in libc for some reason: https://github.com/rust-lang/libc/issues/1273 This probably explains why some other things, like the `sa_handler`/`sa_sigaction` fields of `sigaction` were skipped. The field is actually a union, which can be either a `sig_t` for the `sa_handler` field, or some other type for the `sa_sigaction` field, but because the distinction was not made, the field was not checked. The latest ctest version can check volatile pointers, so a couple of skipped tests are now tested using this feature.
-