Commit Graph

486 Commits

Author SHA1 Message Date
Alex Crichton 379e92f27e Merge pull request #179 from alexcrichton/bump
Bump to 0.2.7
2016-02-09 15:27:19 -08:00
Alex Crichton 87e6c65c74 Bump to 0.2.7 2016-02-09 13:26:02 -08:00
Alex Crichton 9a3de2f0cf Merge pull request #178 from dhuseby/fixing_netbsd_build
SIGSTKSZ is the same on OpenBSD, Bitrig, and NetBSD
2016-02-08 16:02:25 -08:00
Dave Huseby e92ec48e56 SIGSTKSZ is the same on OpenBSD, Bitrig, and NetBSD 2016-02-08 13:47:02 -08:00
Alex Crichton 37c866a609 Merge pull request #170 from kamalmarhubi/sendfile
unix: Add sendfile to platforms that support it
2016-02-06 16:17:44 -08:00
Kamal Marhubi 143358bb97 unix: Add sendfile to platforms that support it 2016-02-06 15:02:19 -05:00
Alex Crichton cb688da699 Merge pull request #175 from alexcrichton/rollup
Merging 2 PRs together
2016-02-06 11:22:19 -08:00
Alex Crichton e295b8ad4d Merge branch 'peterhj-cpuset-affinity' of https://github.com/peterhj/libc 2016-02-05 18:19:39 -08:00
Alex Crichton 9122ebf23f Merge branch 'sysctl_consts_in_openbsd' of https://github.com/polezaivsani/libc 2016-02-05 18:19:27 -08:00
Alex Crichton a64ee24718 Merge pull request #173 from alexcrichton/rtld-names
Add more RTLD_* constants
2016-02-05 17:10:05 -08:00
Peter Jin 1a190c7b79 linux: Initial support for cpuset and gnu pthread_attr_affinity interface 2016-02-05 15:06:39 -08:00
Vasily Kolobkov 86aae3cfb0 Add a pinch of KERN_PROC_* consts to OpenBSD family 2016-02-06 00:05:48 +02:00
Alex Crichton 29de598537 Add more RTLD_* constants 2016-02-05 13:57:37 -08:00
Alex Crichton e9db959527 Merge pull request #172 from kamalmarhubi/splice-and-friends
linux: Add splice, tee, vmsplice
2016-02-05 13:57:14 -08:00
Kamal Marhubi 0cfc25fe96 linux: Add splice, tee, vmsplice 2016-02-05 13:12:49 -05:00
Alex Crichton 748c92a098 Merge pull request #168 from alexcrichton/ios-nightlies
Use iOS nightlies instead of a pinned version
2016-02-04 19:25:25 -08:00
Alex Crichton 36ae2359b3 Use iOS nightlies instead of a pinned version 2016-02-04 15:35:58 -08:00
Alex Crichton 579f2c9836 Merge pull request #169 from dhuseby/fixing_bitrig_d_namlen
fixes the bitrig d_namlen compile error
2016-02-03 23:31:59 -08:00
Dave Huseby c97d2174c4 fixes the bitrig d_namlen compile error 2016-02-03 13:03:45 -08:00
Alex Crichton 026f4b335d Merge pull request #166 from lambda/sc-pagesize
Define _SC_PAGE_SIZE constants
2016-01-31 21:18:04 -08:00
Brian Campbell 11f29f592a Define _SC_PAGE_SIZE constants
According to POSIX, sysconf can take _SC_PAGESIZE or _SC_PAGE_SIZE,
which may be the same value.  This constant was define in "apple" as
equal to _SC_PAGESIZE, but not any of the other platforms.

Add definitions for _SC_PAGE_SIZE for all platforms which had
_SC_PAGESIZE defined. On all platforms but Android (Bionic), they are
the same value; on Android _SC_PAGE_SIZE has a different value.
2016-01-31 23:40:01 -05:00
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