Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/AssemblyScript/musl
Mirror of git://git.musl-libc.org/musl
https://github.com/AssemblyScript/musl
e241896cd5ebe5d6b8e725fe4ac7a8d9c0980319 authored over 12 years ago
the old code could be kept for cases where SYS_utime is available, but
it's not really worth the...
4d4f13e5813f3b1f7e7fd43cfe1a5da641dca96c authored over 12 years ago
stale state information indicating that a thread was possibly blocked
at a cancellation point co...
no need to pass unnecessary extra arguments on to the core code in
pthread_create.c. this just w...
i originally made it the same size as the bloated GNU version, which
contains space for saved si...
i made a best attempt, but the intended semantics of this function are
fundamentally contradicto...
af3330d7648627816fbc82aa3247419e8a528230 authored over 12 years ago
this is actually rather ugly, and would get even uglier if we ever
want to support further featu...
96601e3c617bb2122265419f0895730ed794f5af authored over 12 years ago
there is no reason to avoid multiple identical macro definitions; this
is perfectly legal C, and...
its only purpose was for use on non-BSD systems that implement sysv
semantics for signal() by de...
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's
idea of what _BSD_SOURCE sho...
7b5467cbae266d9cf91404a13c9b6b6e1d9b8204 authored over 12 years ago
it's ok to overlap with integer slot 3 on 32-bit because only slots
0-2 are used on process-loca...
3db29f0347976cd8f5eedf8a78cc3297a639714f authored almost 13 years ago
01e94c46231f2670e9b0c1962f10de646674fded authored almost 13 years ago
c5f3add3254de442f90f8102503c6df7b39e941e authored almost 13 years ago
55e2f5e98252b390c10e98f6d33db713fa15b0ed authored almost 13 years ago
b5cbd549fd00aac164916fa0b6fea65d9dec60bf authored almost 13 years ago
f8ac55516d0336e26fbd1c69c4756e92f3e61407 authored almost 13 years ago
bc63e4fa2c9302c422e3bebd2653e4e36ee6372b authored almost 13 years ago
these are cruft from the original code which used an explicit string
length rather than null ter...
i don't understand why this has to be conditional on being in BRE
mode, but enabling this code u...
i've been trying out openmp and it seems like it won't be much use
without this...
we do not bother making h_errno thread-local since the only interfaces
that use it are inherentl...
3777f5b90d25b2cafc5fd7be57580f1925fb5515 authored almost 13 years ago
20052b9815f1009699fc6543d746010c67e8b962 authored almost 13 years ago
7db6a871ca14b5a8e303e8b1819955970c79d034 authored almost 13 years ago
c3dbe9b22c93c187d806f5def44da5b47744923c authored almost 13 years ago
6255c4c6a5599724d18311a7776aebe67f8e6d4a authored almost 13 years ago
d197d6421c317145e2aff89dd41de9d03eeaa00b authored almost 13 years ago
written to avoid multiple conditional jumps and avoid ugly repetitive
lines in the header file.
this one is for program(s|ers) who haven't heard of uint16_t and
uint32_t (which are obviously t...
c8b01e73cad6a3edea7bfdf4e674f945fd7b6de3 authored almost 13 years ago
9cfa3065c576e83949d659df0bba59e901671bc3 authored almost 13 years ago
there's no sense in using a powerful lock in exit, because it will
never be unlocked. a thread t...
7e310e591e61cde57cf3960d6a064a1de2e94e6c authored almost 13 years ago
bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3 authored almost 13 years ago
2e41887f54a8d01353204cb2509b4c466861e3b4 authored almost 13 years ago
this is all junk, but some programs use it.
e0ff0d34dcce6993bedefe5ef61f10701d2b5a09 authored almost 13 years ago
the non-prototype declaration of basename in string.h is an ugly
compromise to avoid breaking 2 ...
backported fix from freebsd:
http://svnweb.FreeBSD.org/base?view=revision&revision=233973
0e195dfaa4902a73179f7ab296d47f01d3518ad3 authored almost 13 years ago
952700e8c32f7e81045cd01e1ecb3f7ca3f4c762 authored almost 13 years ago
17361482108e2a8757dc4aa69ed36b002251a08f authored almost 13 years ago
a5a47783359dff3e583693bcddc1c5e3311d96ac authored almost 13 years ago
1. * in BRE is not special at the beginning of the regex or a
subexpression. this broke ncurses'...
2d3e2a7fc13296bb682b9a48b81f1c7130a94bde authored almost 13 years ago
4a99440571e315612e8f7582702df8a41021501f authored almost 13 years ago
updated nextafter* to use FORCE_EVAL, it can be used in many other
places in the math code to imp...
apparently initializing a variable is not "using" it but assigning to
it is "using" it. i don't ...
this only works with gcc 4.6 and later, but it allows us to support
non-default endianness on ar...
a45de0cb94b58f1b5ea4af1ca3531c56dc02c0a2 authored almost 13 years ago
apparently some packages see stropts.h and want to be able to use
this. the implementation check...
make nexttoward, nexttowardf independent of long double representation.
fix nextafterl: it did n...
two issues: (1) the type was wrong (unsigned instead of signed int),
and (2) the value of FP_ILO...
b4ccc3c1361ca611d6590dd4af288fb9fa6a843b authored almost 13 years ago
8a35deede1c2c1ca2e24aae676c90cac49eff073 authored almost 13 years ago
3f0636970b4bb0aaff7eb48bf144603a021c89a4 authored almost 13 years ago
these changes are based on the following communication via email:
"I hereby grant that all of t...
8cfbc8be82898c98fc0a93e2cc7912d9e649f32e authored almost 13 years agoa23563024fc75a85af955ca203e26c52f939b414 authored almost 13 years ago
this script is not based on autoconf; however it attempts to follow
the same interface contracts...
this change is necessary or pthread_create will always fail on
security-hardened kernels. i cons...
these new rules should avoid spurious error messages when the
directory (usually /lib) and the d...
dac791226a0f6fb8d19d83b63a837254f804dbac authored almost 13 years ago
4027f4e8f948c26be5e61c774f9f9ce9af8942b5 authored almost 13 years ago
old: 2*atan2(sqrt(1-x),sqrt(1+x))
new: atan2(fabs(sqrt((1-x)*(1+x))),x)
improvements:
* all edge...
this could lead to spurious failures of wide printf functions
db4096c5f2ffb15e52015004ab5a900b820c6683 authored almost 13 years agof0b85fd926c5a381416c94be62e7bc20d9fdbdb1 authored almost 13 years ago
musl does not support legacy 32-bit-off_t whatsoever. off_t is always
64 bit, and correct progra...
b4560a6da918ce3b63e87a78a3a3956f514e24ce authored almost 13 years ago
these actually work, but for now they prohibit actually setting
priority levels and report min/m...
b959d04644d99f27d9f10344e76c079a12bc1ffd authored almost 13 years ago
in6_* is in the reserved namespace, so this is valid
ca2d3c6ef45de4943e2fba793131206e491fcdb7 authored almost 13 years ago
pthread structure has been adjusted to match the glibc/GCC abi for
where the canary is stored on...
hopefully the annoyance of this will be minimal. these files all
define internal interfaces whic...
looks like nik copied these "extra arguments" from the i386 code.
they're not actually arguments...
94167cafd5a8f4f8309c3f82f5bda17f4767cb60 authored almost 13 years ago
faab12bececc03ae0472db99504b0fefc0b8e059 authored almost 13 years ago
83023d1b50297cd2aa0fe4cbd2a0539462bb7c48 authored almost 13 years ago
it does not work; after further consideration, a separate Scrt1.s for
pie really is essential. i...
these are POSIX 2008 (previously GNU extension) functions that are
rarely used. apparently they ...
these were at best of limited usefulness (for bootstrapping new
systems, mainly) and at worst ca...
the major change here is that CFLAGS is now a variable that can be
changed entirely under user c...
as far as I can tell, it's not useful and never way. I wrote it way
back under the assumption th...
a917c03706d94564082d5ccff032a3e2c3dad537 authored almost 13 years ago
da5d89d42fb47c648fb83645e5e4a55bae907032 authored almost 13 years ago
this is a nonstandard function so it's not clear what conditions it
should satisfy. my intent is...
63374ee233c44891db80e6600d7a5a8c82e4ccca authored almost 13 years ago
this caused misreading of certain floating point values that are exact
multiples of large powers...
e5a9b50e973aadff2e6303d01be8807b1fb9c325 authored almost 13 years ago
untested
0e4a995213620630005a14f32c089879f7c0315e authored almost 13 years agoaa859403886ed4b50da36e7fe101f7431856c004 authored almost 13 years ago
50da5c264fd84ea2de8cf75bf39ceb81a4eecd71 authored almost 13 years ago
8b7112191020f1e44386a6311e0cb62ee4cea2ef authored almost 13 years ago
unlike the old one, this one's algorithm does not suffer from
potential stack overflow issues or...
if the compiler provides a value, use it; otherwise fallback to the
platform default (2).
an invalid bracket expression must be treated as if the opening
bracket were just a literal char...
0bd7ac05d1c6691a7ff33c0145adcafb4f4803df authored almost 13 years ago