Brian Campbell
cb12fdfea3
Remove trailing whitespace
2016-01-31 23:40:01 -05:00
Alex Crichton
28b526aa9d
Merge pull request #167 from lambda/add-abort
...
Add abort
2016-01-31 20:29:05 -08:00
Brian Campbell
d81e4a0ad8
Add abort
...
This is defined by the C standard to indicate abnormal program
terminaiton; it is defined to call raise(SIGABRT), and to not return.
This can be useful when panics are not an option, such as signal
handlers handling stack overflow.
2016-01-31 22:04:05 -05:00
Alex Crichton
30f70baa6c
Merge pull request #165 from japaric/musl-nlink_t
...
musl: define nlink_t as u32/u64
2016-01-30 20:37:51 -08:00
Jorge Aparicio
ec9db4d779
musl: define nlink_t as u32/u64
2016-01-30 19:51:14 -05:00
Alex Crichton
53d11fc6ef
Merge pull request #164 from japaric/fix-linkage
...
musl: fix linkage of libc
2016-01-30 10:21:13 -08:00
Jorge Aparicio
7376d09b72
musl: fix linkage of libc
...
I messed up the logic of the cfg during my rebase of #163 😅
2016-01-30 04:06:37 -05:00
Alex Crichton
5863d86587
Merge pull request #163 from japaric/mips-musl
...
musl: add support for mips/mipsel
2016-01-29 23:33:11 -08:00
Jorge Aparicio
751bea36c7
musl: add support for mips
2016-01-30 01:28:50 -05:00
Alex Crichton
86cd81ddc9
Merge pull request #122 from brson/musl
...
Definitions for i686-unknown-linux-musl, arm and asmjs musl
2016-01-29 17:10:36 -08:00
Brian Anderson
773aab8293
Add musl definitions for x86, arm and asmjs
...
I've tested x86 against C locally, but not arm or asmjs.
I added the arm definitions because asmjs's C is derived from arms.
Mysteriously, my locally-built musl does not contain a
definition for _SC_2_C_VERSION, so I just removed it.
2016-01-29 21:51:06 +00:00
Brian Anderson
8266465447
Add ~ to .gitignore
2016-01-29 21:34:19 +00:00
Alex Crichton
f9b9e1d9b3
Merge pull request #162 from arcnmx/patch-1
...
stdbuild conditional change
2016-01-29 11:38:01 -08:00
arcnmx
527b63e61c
stdbuild conditional change
...
Building with cargo doesn't necessarily imply this isn't a `stdbuild` libc. This logic is more consistent with the rest of the repo.
2016-01-29 13:54:34 -05:00
Alex Crichton
400a7df23a
Merge pull request #161 from nbaksalyar/illumos
...
Renames "sunos" to "solaris" (as a part of PR to add Illumos support to Rust)
2016-01-28 23:05:40 -08:00
Nikita Baksalyar
702814f058
Rename sunos -> solaris
2016-01-29 08:21:23 +03:00
Alex Crichton
91ff43c736
Merge pull request #160 from alexcrichton/netbsd-pthread
...
Add pthread_setname_np for NetBSD
2016-01-28 19:32:20 -08:00
Alex Crichton
9c8643fb4e
Add pthread_setname_np for NetBSD
2016-01-28 17:39:16 -08:00
Alex Crichton
f9073f462b
Merge pull request #157 from dhuseby/fixing_bsd_ncpu
...
Fixes #156
2016-01-26 19:06:29 -08:00
Dave Huseby
e95c53d0df
Fixes #156
2016-01-26 17:41:32 -08:00
Alex Crichton
5f545a84b1
Merge pull request #155 from alexcrichton/bump
...
Bump to 0.2.6
2016-01-26 17:00:05 -08:00
Alex Crichton
381be4bcb0
Bump to 0.2.6
2016-01-26 16:02:21 -08:00
Alex Crichton
5941675d20
Merge pull request #154 from polezaivsani/openbsd_sockgrpopt
...
Add IP v6 group membership options to OpenBSD build
2016-01-26 15:20:28 -08:00
Vasily Kolobkov
233941e668
Add IP v6 group membership options to OpenBSD build
...
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP sockopt constants.
2016-01-26 22:32:05 +02:00
Alex Crichton
9f99d74bbc
Merge pull request #153 from kamalmarhubi/if_indextoname
...
unix: Add if_indextoname and IF_NAMESIZE
2016-01-25 17:38:01 -08:00
Kamal Marhubi
0a5dcf02e3
unix: Add if_indextoname and IF_NAMESIZE
2016-01-25 15:20:46 -05:00
Alex Crichton
aa4e1b586c
Merge pull request #150 from jamperry/master
...
Add SOCK_NONBLOCK & SOCK_CLOEXEC
2016-01-23 21:01:30 -08:00
James Perry
842ff2f5b4
adding SOCK_NONBLOCK & SOCK_CLOEXEC for linux MIPS
2016-01-23 21:42:54 +00:00
James Perry
b979fe0e35
adding SOCK_NONBLOCK and SOCK_CLOEXEC
2016-01-23 21:28:42 +00:00
Alex Crichton
33bfefe027
Merge pull request #149 from alexcrichton/more-tested
...
Linkify more docs, add more tested triples
2016-01-22 17:36:34 -08:00
Alex Crichton
4ff646b494
Merge branch 'clone_common_type' of https://github.com/fiveop/libc
2016-01-22 16:02:46 -08:00
Alex Crichton
42cacf4498
Merge branch 'eventfd-initval-unsigned' of https://github.com/jimblandy/libc
2016-01-22 16:02:32 -08:00
Alex Crichton
9522711192
Linkify more docs, add more tested triples
...
Now we're testing rumprun, openbsd, and freebsd
2016-01-22 13:21:36 -08:00
Brian Anderson
f54b9c90ee
Merge pull request #142 from alexcrichton/bump
...
Bump to 0.2.5
2016-01-21 13:18:19 -08:00
Philipp Matthias Schaefer
a7ce06c6df
Use same type for all CLONE_ flags.
2016-01-21 21:27:40 +01:00
Alex Crichton
2abaf33ed0
Bump to 0.2.5
2016-01-21 09:53:49 -08:00
Alex Crichton
af77843345
Merge pull request #145 from dhuseby/fixing_O_ACCMODE
...
Fixes #144 by defining O_ACCMODE for BSD's
2016-01-21 09:36:51 -08:00
Dave Huseby
8c32faacb4
Fixes #144 by defining O_ACCMODE for BSD's
2016-01-20 16:16:32 -08:00
Alex Crichton
f8da228335
Merge pull request #143 from Mokosha/AddPowerPCSupport
...
Preliminary PowerPC Support
2016-01-20 14:33:33 -08:00
Pavel Krajcevski
2cf9e82890
Preliminary PowerPC Support
2016-01-20 16:05:51 -05:00
Alex Crichton
aea17ed1a6
Merge pull request #140 from jaksi/patch-1
...
Add IP_TRANSPARENT socket option
2016-01-20 10:30:47 -08:00
Jakab Kristóf
d614a3f3ae
Add IP_TRANSPARENT socket option
...
Required for transparent proxying
2016-01-20 09:08:21 +01:00
Alex Crichton
7ce8eba6f2
Merge pull request #139 from alexcrichton/freebsd
...
FreeBSD and OpenBSD CI
2016-01-19 22:28:51 -08:00
Alex Crichton
bb6f198a20
Fix all definitions on FreeBSD
...
* The `flock` structure has an extra field
* Some `flock`-related constants have different value
* Some constants like `TABN` don't exist
* The `fsblkcnt_t` and `fsfilcnt_t` type definitions are u64 for x86_64 FreeBSD
* The `d_namelen` field in `dirent` was renamed correctly to `d_namlen`
* The alignment of `fd_set` was off, and the macros were updated to not always
assume a 32-bit integer is used.
2016-01-18 22:54:28 -08:00
Alex Crichton
d820c4a8f7
Add OpenBSD and FreeBSD CI to Travis
...
This commit adds support to test all libc definitions on both OpenBSD and
FreeBSD via QEMU userspace emulation. Specially prepared images for each OS are
used which are essentially intended to run a script on startup and then exit.
Documentation has been added to the `ci/README.md` file describing this new
system.
2016-01-18 22:54:28 -08:00
Alex Crichton
2575794dd7
Merge pull request #138 from nbaksalyar/illumos
...
Add Illumos support
2016-01-17 12:39:57 -08:00
Nikita Baksalyar
bff38929af
Move getpwuid_r definition to platform-specific modules
2016-01-17 22:17:20 +03:00
Nikita Baksalyar
7fa6dea821
Reorganize Illumos module
2016-01-17 22:10:16 +03:00
Nikita Baksalyar
25726a654b
Add Illumos support
2016-01-17 21:41:34 +03:00
Alex Crichton
a59ccee2d8
Merge pull request #137 from mrjana/setns
...
Add setns api to linux targets
2016-01-15 23:58:44 -08:00