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
a6c399cf62bbd88f0f0142fd3e9e1e72bd093bc3 authored over 13 years ago
c74d306f47e9f212a63dc0187fb08aa275a8f1a5 authored over 13 years ago
there is a resource limit of 0 bits to store the concurrency level
requested. thus any positive ...
11c531e21de9c417166da934898ea7225a758fdf authored over 13 years ago
9a59faab3c0c46d2e96245e11fc71351caba1a2e authored over 13 years ago
f48832ee15027763826c8a7ff9eeed3fc06bb499 authored over 13 years ago
dd45edb5ff6198493edf1315d3e4e6ffc7b96447 authored over 13 years ago
a0ae0b09368e6dbfa82860187dcd6fdf86d86fee authored over 13 years ago
d6c0c9784615ddb316ace52f3a9e2f025214ba2a authored over 13 years ago
file actions are not yet implemented, but everything else should be
mostly complete and roughly ...
3a17f757a80816961cd1fbf4664a5cbb02563b2d authored over 13 years ago
also modify wcsncpy to use the same loop logic
86339bc4ba69ca5c88fd5570875cf17a275bd019 authored over 13 years agoe98136207ad1a6df1cdc1578e4ad56f8f0db4047 authored over 13 years ago
19892bf0a740062cf51b84c27f53f7c0f3120b53 authored over 13 years ago
c5025bfabefe952507cf333ea89854d6ba612549 authored over 13 years ago
the observed symptom was that the code was incorrectly rounding up
1.0625 to 1.063 despite the r...
15b77d52c950c375514d2e8152e7112fd018e20e authored over 13 years ago
11e4b92556a02f43b500e6815690354b0f710843 authored over 13 years ago
4c4e22d781d75a461097cccc2ecac5adbafb1a59 authored over 13 years ago
the new approach relies on the fact that the only ways to create
sigset_t objects without invoki...
these should be tweaked according to testing. offhand i know 1000 is
too low and 5000 is likely ...
9dd6399c95ed3ebc62492f6dedc569b5f0d8bb8e authored over 13 years ago
the previous implementation had at least 2 problems:
1. the case where additional threads reach...
f16a3089be33a75ef8e75b2dd5ec3095996bbb87 authored over 13 years ago202911435b56fe007ca62fc6e573fa3ea238d337 authored over 13 years ago
the previous fix was incorrect, as it would prevent f->close(f) from
being called if fflush(f) f...
pcc turned up this bug by calling f->close(f) before fflush(f),
resulting in lost output and err...
with this patch, musl compiles and mostly works with pcc 1.0.0. a few
tests are still failing an...
d02c50d6a34ff28db2486fbeac86e513286d52e9 authored over 13 years ago
1477a3be62746765d7f93c4c7b0f7948a1541fd3 authored over 13 years ago
this slightly cuts down on the degree musl "fights with" gcc, but more
importantly, it fixes a c...
the old versions worked, but conflicted with programs which declared
their own prototypes and ge...
Smoothsort is an adaptive variant of heapsort. This version was
written by Valentin Ochs (apo) s...
strictly speaking this and a few other ops should be factored into
asm.h or the file should just...
b5b41212a686849fe061b8c4bb80d38f893d00c7 authored over 13 years ago
32e2c468baac683114efdf836632aa948872b5ce authored over 13 years ago
d179807f6b57d5657639b083dea2da94f07de664 authored over 13 years ago
3486365e952292987d84313cc7b84a42238ec83f authored over 13 years ago
34d81974d341e0174d1fc690b4d3e3b9b1767586 authored over 13 years ago
1. failed match of literal chars from the format string would always
return matching failure rat...
db9915ee97670885f3f2302d8c41ac6c61f2d77e authored over 13 years ago
e6cc1d6c0e66970c7445df4f16a729f019d30efd authored over 13 years ago
cbb65af6ae2fd129102e2cc27e29d23df7580c97 authored over 13 years ago
d878dceccaff9931160250496c6cc87a8fe45811 authored over 13 years ago
31f014e0a751d2bb9d40a09fe2cd1a8b0111acf6 authored over 13 years ago
4b5f054098e484baa6d457aebe8bdab0eeb90215 authored almost 14 years ago
this is explicitly allowed by POSIX
f492c95401b3a6fedb3973631496ee329447b25e authored almost 14 years ago
some functions that should have been testing whether pthread_self()
had been called and initiali...
the linux documentation for dup2 says it can fail with EBUSY due to a
race condition with open a...
10d7561db5d51231939fa0b42d17eaac2bff6938 authored almost 14 years ago
4921ce08673d14e53b3931b8536238d944a2c1ce authored almost 14 years ago
f1ac8a28d8f3c93ef42c20460992f74822975f11 authored almost 14 years ago
d4b5d6e98160b3c76b37fef1b0581c3b9a7cd192 authored almost 14 years ago
29a15ad077bd7af683d3c838d21be1c216f22f8f authored almost 14 years ago
18bca575107d80ca81241d1429ded62918c5bd2e authored almost 14 years ago
b052f13cd1215cf444f16ccf14c96e32f61f73e0 authored almost 14 years ago
53ab4e793bcff0dd5fa9cf76a4170cbacae342c9 authored almost 14 years ago
the check against MADV_DONTNEED to because linux MADV_DONTNEED
semantics conflict dangerously wi...
1c76683cb4377a481dc1085b63170bb276512267 authored almost 14 years ago
145c05345d6172eef1c8c274d696dbe1c01b88ab authored almost 14 years ago
f0fc95d439459bac27d0d26ec151700a1579b028 authored almost 14 years ago
this also de-uglifies the dummy function aliasing a bit.
a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 authored almost 14 years ago4f24994920cf3c8a9a6f60d4573a7673a3095b02 authored almost 14 years ago
43ee4df3384853a9c53f4f45b31d190ff9b0d7f0 authored almost 14 years ago
75a0be1f65f400489cc09b20a92a4569ad2b0782 authored almost 14 years ago
df9e11bb063446df760e8f7c62ea5eb6ba3faa34 authored almost 14 years ago
these functions are allowed to be cancellation points, but then we
would have to install cleanup...
we already checked before making the syscall, but it's possible that a
signal handler interrupte...
like all other syscalls, close should return to the caller if and only
if it successfully perfor...
1bc44a473431228f5b46652740cb967a0de16e9e authored almost 14 years ago
clean and simple, but fails when the caller does not have permissions
to open the file for readi...
if the exit was caused by cancellation, __cancel has already set these
flags anyway.
cancellation frames were not correctly popped, so this usage would not
only loop, but also reuse...
9080cc153cc2b09881c3245becbd68534db18d7c authored almost 14 years ago
don't waste time (and significant code size due to function call
overhead!) setting errno when t...
x86_64 was just plain wrong in the cancel-flag-already-set path, and
crashing.
the more subtle ...
09dae2b7b66f741b30aa7ce95ab395239da20762 authored almost 14 years ago
the goal is to be able to use pthread_setcancelstate internally in
the implementation, whenever ...
02eff258c6a39746db287e20c142153e80c81bac authored almost 14 years ago
signals were wrongly left masked, and cancellability state was not
switched to disabled, during ...
this patch improves the correctness, simplicity, and size of
cancellation-related code. modulo a...
90f09a0dde3b37ebfabc4d3f6e2bb64086b7e804 authored almost 14 years ago
d251c2645c86e89704545337b955ff8b3e835290 authored almost 14 years ago
setting errno here is completely valid, but some programs, notably
busybox printf, assume that e...
088ae5995a75ab06882322fd3ef39f12df06bbbc authored almost 14 years ago
a3aa89d8268a4d3af43d94e77f473753fd99d8da authored almost 14 years ago
0a84e72c42ba01c9fa794d5e94aabf8a704e8b7d authored almost 14 years ago
c2b18f3531b8cd2d5e2295626cff77b7765b356e authored almost 14 years ago
ace973637f5b38a02ac2699e38f282372042bf7c authored almost 14 years ago
b172dc8b58a5db37d61cb4718cd42628126710f1 authored almost 14 years ago
9b96220e5a9d1648c84060357ebe473e2afbe45c authored almost 14 years ago
33a3f202d1998ca7ba2d3bec1e4886accc0053a7 authored almost 14 years ago
e983aea0aec4b77cd3eb39dabc763b08c4485395 authored almost 14 years ago
ec2e50d0d78fb19c4a0b6f3e1d394408860425b4 authored almost 14 years ago
otherwise we cannot support an application's desire to use
asynchronous cancellation within the ...
we take advantage of the fact that unless self->cancelpt is 1,
cancellation cannot happen. so ju...
with datagram sockets, depending on fprintf not to flush the output
early was very fragile; the ...
per the standard, SIGPIPE is not generated for SOCK_DGRAM.
a77411a50d22f6c9db305f19efda5ab2db3266de authored almost 14 years ago
it actually appears the hacks to block SIGPIPE are probably not
necessary, and potentially harmf...
some of these definitions were just plain wrong, others based on
outdated ancient "non-64" versi...
b5b43b6d6245efac10cd0d2b6d23ee8f91d75261 authored almost 14 years ago
b778a2ba69d7707d13280ce2d44c4153eb1e2431 authored almost 14 years ago