Commit Graph

1893 Commits

Author SHA1 Message Date
luozijun
511f8c89bc fix macos 2017-12-12 12:31:43 +08:00
luozijun
789fd5eb81 Add sockaddr_dl for all bsdlike 2017-12-12 11:24:00 +08:00
luozijun
0061cc9510 Fix code style and add sockaddr_dl for xnu 2017-12-12 11:02:47 +08:00
luozijun
2199ac4e42 fix freebsd include path 2017-12-12 08:19:39 +08:00
luozijun
7e0ccf206c fix include path 2017-12-12 08:07:00 +08:00
luozijun
e3b0b81c44 update libc-test/build.rs 2017-12-12 00:52:39 +08:00
luozijun
722e133d78 merge 2017-12-12 00:50:29 +08:00
bors
9d6115ac1e Auto merge of #867 - Susurrus:ucreds, r=alexcrichton
Ucreds

I'm not positive on the `SOCKCREDSIZE()` implementation, but we'll see what CI says I guess.
2017-12-08 15:02:50 +00:00
Bryant Mairs
35992f23be Add struct ucred for Linux on MIPS 2017-12-07 21:17:19 -08:00
Bryant Mairs
011ba6d8f2 Add ucred-like structs for FreeBSDs and NetBSD 2017-12-07 18:30:41 -08:00
Bryant Mairs
6cf652ed36 Remove unnecessary unsafe block
Removes a compilation warning
2017-12-06 21:32:05 -08:00
luozijun
4d3826a980 FIX style 2017-12-06 18:58:43 +08:00
luozijun
49b4213a18 FIX 2017-12-06 17:29:04 +08:00
寧靜
f688621ea6
Add struct sockaddr_dl for macos and freebsd 2017-12-06 14:09:22 +08:00
bors
b080eb5c3a Auto merge of #865 - cactorium:master, r=alexcrichton
Minor fixes for mips-unknown-linux-uclibc

Just adding a few definitions so the toolchain compiles
2017-12-04 23:35:04 +00:00
bors
06a855bb2a Auto merge of #864 - Susurrus:freebsd_errnos, r=malbarbo
Add more FreeBSD errnos
2017-12-04 09:54:02 +00:00
Bryant Mairs
97925e931c Add more FreeBSD errnos 2017-12-03 17:52:22 -08:00
bors
d8fc152fc1 Auto merge of #863 - Susurrus:netbsd_errnos, r=alexcrichton
Add additional errno constants for NetBSD
2017-12-04 01:06:39 +00:00
Bryant Mairs
7ba66f7ca3 Add additional errno constants for NetBSD 2017-12-03 15:13:39 -08:00
Alex Crichton
7c1297c9a1
Merge pull request #862 from alexcrichton/bump
Bump to 0.2.34
2017-11-30 09:46:25 -06:00
Alex Crichton
19b0fbe210 Bump to 0.2.34 2017-11-30 06:50:55 -08:00
bors
ace4b860f3 Auto merge of #859 - mwanner:freebsd-drop-drv, r=alexcrichton
Use IFF_OACTIVE and IFF_RUNNING even on FreeBSD. Deprecate the DRV ones.

According to @asomers, libc should propagate the use of the portable constants `IFF_OACTIVE` and `IFF_RUNNING` for user-space applications, instead of `IFF_DRV_OACTIVE` and `IFF_DRV_RUNNING`. It least that's my understanding of [his comment](https://github.com/nix-rust/nix/pull/667#discussion_r152396984) in nix-rust/nix#667.
2017-11-29 14:46:22 +00:00
Markus Wanner
13ce9f8b86 Use IFF_OACTIVE and IFF_RUNNING even on FreeBSD. Deprecate the DRV ones. 2017-11-28 23:18:11 +01:00
bors
1a2f9639f8 Auto merge of #855 - kallisti5:haiku-lutimes, r=alexcrichton
haiku: Add missing lutimes

* BeOS traditionally didn't have lutimes, however to make Haiku
  more compatible and easier to port for, we added an implementation
  of it.
2017-11-26 15:48:53 +00:00
bors
a04e5527ad Auto merge of #854 - cramertj:fuchsia-typo, r=alexcrichton
Fix Fuchsia typos
2017-11-26 15:04:27 +00:00
bors
9d8c290864 Auto merge of #857 - alexcrichton:fix, r=alexcrichton
Fix master CI

Apparently the most recently release broke three (!) platforms!
2017-11-25 22:18:44 +00:00
Alex Crichton
bea4879eec Pin aarch64 musl to 1.22.0
Apparently it fails on 1.23.0 for mysterious reasons
2017-11-25 14:17:54 -08:00
Alex Crichton
6978440054 Fix wasm tests
Looks like `cargo test` is now trying to test too many files due to
rust-lang/cargo#4750 so add a clause to the wrapper to ignore the bogus ones for
now
2017-11-25 14:11:14 -08:00
Alex Crichton
4d7fa243c6 Fix the FreeBSD target
It wasn't expecting a `*.d` file to exist, now it does.
2017-11-25 13:56:29 -08:00
Alexander von Gluck IV
f7d16bce0c haiku: Add missing lutimes
* BeOS traditionally didn't have lutimes, however to make Haiku
  more compatible and easier to port for, we added an implementation
  of it.
2017-11-25 10:15:08 -06:00
Taylor Cramer
5e9c614b9f Fix Fuchsia typos 2017-11-21 15:47:37 -08:00
bors
614199a8d1 Auto merge of #853 - bgermann:master, r=alexcrichton
Prerequisites to build libc-test on Solaris

These changes are required as a first step to Solaris CI.
2017-11-19 16:35:59 +00:00
bgermann
9e70e60293 Style 2017-11-19 13:52:07 +01:00
bgermann
85680dc23e Add some Solaris quirks 2017-11-18 22:03:14 +01:00
bgermann
13624c8e83 Solaris type correction 2017-11-18 20:27:51 +01:00
bgermann
d9208b3546 Correct port and dirent types 2017-11-18 19:21:53 +01:00
bgermann
c69f0b95a0 get rid of unnecessary configuration 2017-11-18 18:24:34 +01:00
bgermann
cf29ee668e Correct some interface constants' types 2017-11-18 17:56:36 +01:00
bgermann
b3870b405b Prerequisites for Solaris testing support
With these changes there are no "undeclared"
errors for libc-test on Solaris anymore.
2017-11-18 14:57:54 +01:00
bgermann
2b948828c5 Remove fflags_t from Solaris
fflags_t is not commonly defined on Solaris or illumos.
2017-11-18 14:52:15 +01:00
bgermann
892115ad83 Change futimes to futimesat on Solaris
futimes is not commonly defined on Solaris, but futimesat is.
2017-11-18 14:50:40 +01:00
bors
5054b3cbab Auto merge of #851 - mneumann:dragonfly-several-fixes, r=alexcrichton
Several fixes for DragonFly

With these changes in place, crate "nix" works (with some patches applied).
2017-11-17 14:38:23 +00:00
Michael Neumann
a9d80d6452 No fexecve() on DragonFly
This was not caught by libc-test, as checks for the execv functions
are disabled.
2017-11-17 12:50:18 +01:00
Michael Neumann
62ac76cbd5 Add WCONTINUED and WSTOPPED for DragonFly 2017-11-17 12:44:47 +01:00
Michael Neumann
ce48715a5e Add MADV_SETMAP for DragonFly 2017-11-17 12:36:29 +01:00
bors
5cacf97831 Auto merge of #850 - Susurrus:errno, r=malbarbo
Add errno getter for Android
2017-11-17 09:30:09 +00:00
Bryant Mairs
c9d1e3923a Add errno getter for Android 2017-11-16 21:16:51 -08:00
bors
a72a79b34d Auto merge of #849 - cramertj:separate-fuchsia, r=alexcrichton
Separate and Update Fuchsia

The first commit pulls Fuchsia out into its own directory, while the second commit updates the "open" flags as in #848.

cc @smklein, @alexcrichton
2017-11-15 23:45:05 +00:00
Taylor Cramer
b4cfe883bb Reorganize Fuchsia module 2017-11-15 11:29:01 -08:00
Taylor Cramer
42b57da46b Update Fuchsia open flags 2017-11-15 10:37:05 -08:00