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
0558683d3db05bc7022be57bc8ece9699df24228 authored almost 14 years ago
6871fd773dcedbf056317d5d5e87b4859e97c4a4 authored almost 14 years ago
these functions are specified inconsistent in whether they're
specified to return an error value...
it must return errno, not -1, and should reject invalud values for how.
500c969f059dc1b12dc3809d270cb169abbd57d3 authored almost 14 years ago3f5420bcda134de80ed6b0f0da1d7d23f147a4cc authored almost 14 years ago
the set_tid_address returns the tid (which is also the pid when called
from the initial thread) ...
a signal handler could fork after the pid/tid were read, causing the
wrong process to be signall...
370f78f2c80c64b7b0780a01e672494a26b5678e authored almost 14 years ago
91f7db26212714254e35f3060c22bb1ea20f04fd authored almost 14 years ago
also remove some legacy nonsense that crept in.
ac12eb91bd7aa6f1f1642de1350c4f29ea0f4d08 authored almost 14 years ago31e06075d5a71b53461638ee871bfb6163e20dd5 authored almost 14 years ago
e5dd18319bbd47c89aac5e1571771958a43e067d authored almost 14 years ago
the issue was a break statement that was breaking only from the
switch, not the enclosing for lo...
problem 1: mutex type from the attribute was being ignored by
pthread_mutex_init, so recursive/e...
1d6b1f15929ff19f4dce4f83947e14f7c3fc3c19 authored almost 14 years ago
9d5251f72b627974bcf438501e07ad42c24d94be authored almost 14 years ago
5d0d6d983664cc3816d63432397271719dade83c authored almost 14 years ago
9fe28f703d44ff1ddecdca945bfb5fc87de5e8ad authored almost 14 years ago
5fd4a9816573a3b6a244b73b84ce0cec871321da authored almost 14 years ago
7d57e05fa8d15dc838638f7db19e88b02a21c18b authored almost 14 years ago
cc2e0b45a6fe7b0927519cc960fae8e4c0c0ebee authored almost 14 years ago
note that, while the attributes are stored, they are not used in
pthread_cond_init yet.
note that this is a pedantic conformance issue and waste of code. it
only affects broken code or...
951e76409117f114da4ce9895514658a88a3ad4b authored almost 14 years ago
8c967b93862193421c1ba0ed49b52835e9625ba1 authored almost 14 years ago
6fc5fdbdc70dd17ea8e681a361fb4dae541ee953 authored almost 14 years ago
03dcc3417ce4388a652bdd053cb2b6af860daf00 authored almost 14 years ago
b480808a6a511c9350a6559b63938ac261c83a76 authored almost 14 years ago
a53d2f3425aa32b5770b03acbab12d1df3af7226 authored almost 14 years ago
ebd7af6940bebb3b083a4d9239da27a66d1c32ec authored almost 14 years ago
this should avoid warnings about unused libs when not linking, and
might fix some other obscure ...
07e9d63b8f0614f582f0f453437eaafe92441435 authored almost 14 years ago
eda8e9da763df3fd25fc6c78602d7c79296eae6b authored almost 14 years ago
b1b465c4382d6956e2973b70d644b0c20f530430 authored almost 14 years ago
f2374ed852654ca13404986d8c04f82bf58812cb authored almost 14 years ago
this code was written independently of musl, with support for a the
backwards, nonstandard "31-b...
2a195dd31ceb2a483ea547444aac080bee132ad2 authored almost 14 years ago
prefer using visibility=hidden for __libc internal data, rather than
an accessor function, if th...
73d310e1d2b76cd14b9913bbc3d8e75be91be5a6 authored almost 14 years ago
b8ff2aaabb55521686179464593553fe1c91b2e2 authored almost 14 years ago
this only made the function unnecessarily slow on systems with
unaligned access, but would of co...
a6238c30d169cbac6bc4c4977622242063e32270 authored almost 14 years ago
71e6be641fb1e4080c2bb901e83423546d0ad5af authored almost 14 years ago
8cd48f0965c8b362ae21ec93528ba64a25a18b7f authored almost 14 years ago
e2ee1bdd8df7637267f5daae74e2849f77751f6e authored almost 14 years ago
cfcbea1e4373ad5db085f7efed302e6f229e2171 authored almost 14 years ago
prior to this change, a large portion of libc was unusable prior to
relocation by the dynamic li...
this change is in preparation for upcoming PIC/shared library support.
the intent is to avoid go...
ba68efc921578438db5ab263edd2e9c4654bb412 authored almost 14 years ago
3075f7e847b0c717959054b86360722326dbde1e authored almost 14 years ago
46b99426e16c6a4df9f6217cd7989afd4520f557 authored almost 14 years ago
bdc9ed15651b70e89f83c5a9f7d1ba349e624503 authored almost 14 years ago
f552c792c7ce5a560f214e1104d93ee5b0833967 authored almost 14 years ago
b1b752372f10c904d398f64266b3188703727736 authored almost 14 years ago
this change is made with some reluctance, but i think it's for the
best. correct programs must h...
598a0147cde14d093d17b81c102a1757b5ef9975 authored almost 14 years ago
do not allow allocations that overflow ptrdiff_t; fix some overflow
checks that were not quite r...
96f2197494791f5884c01b5caa908074cc7e90a6 authored almost 14 years ago
this is needed in the long term for ABI compatibility anyway, and in
the immediate, it helps wit...
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct
reserved namespaces and do...
855df698c49610696c562979790381414243c63c authored almost 14 years ago
8668f033bcd452cd7751ee34de32d77a8df6f9be authored almost 14 years ago
this is a nonstandard header used only by backwards programs, but for
some reason it's extremely...
note that this library itself is built with -ffreestanding so sincos.c
should not be miscompiled...
98e02144dabec08c1d652a8cb233900516da6d23 authored almost 14 years ago
5316d083ec87e91cd11fde900e0158f82563d8dc authored almost 14 years ago
4b1244a0bfec55bc4cad91ff157997929f106215 authored almost 14 years ago
the existence of a (kernelspace) thread must never have observable
effects after the thread coun...
this code was wrongly disabled because the old version was trying to
be too clever and didn't wo...
fb11b6b85e1e01daf17228be32d7f98b47517363 authored almost 14 years ago
the historic mktemp is supposed to blank the template string on
failure, rather than returning 0...
2e6239dd064d201c6e1b0f589bae9ff27949d2eb authored almost 14 years ago
095a5ae6f2466cdd457cdf3e9925b1fbd302c9be authored almost 14 years ago
cc2a8228fa0b35c9aee69efa7ac657bb7a4704f9 authored almost 14 years ago
52874c82a85a0f5c4b0eecd78ad8b3a349377cf3 authored almost 14 years ago
f3ef7a61245c5ace26ca13bccf14a28876ea7bfc authored almost 14 years ago
b386d8186226f28e1b610be657a89e357768efa1 authored almost 14 years ago
only the structures, not the functions from ucontext.h, are supported
at this point. the main go...
note that this presently does not handle consistency of the libc's own
global state during forki...
use current time in nanoseconds and some potentially-random (if aslr
is enabled) pointer values ...
this is cleaner and makes it easy to impose a limit on the number of
retries later if it seems d...
d5ca067c7bb47081c169ff8b0213c73418f0525e authored almost 14 years ago
982a47843316e65f2b849e9def893195396aeec0 authored almost 14 years ago
6d333355e77107c130e863660a632df953c8b5da authored almost 14 years ago
d09d068f9b01509da0e40405081157f0fcd39324 authored almost 14 years ago
127ab575fc2b200459dc5543d25f5e87d3fdb9db authored almost 14 years ago
this allows sys/types.h to provide the pthread types, as required by
POSIX. this design also fac...
4fd159568aa1852fbbe6c11d35ccecaec3715d7c authored almost 14 years ago
a36164c4743df0a9112fb3641966b213694e25f7 authored almost 14 years ago
187fe29d5b89644b68cade75a34257a1c32a75f6 authored almost 14 years ago
19e35c500bd2b5e6146e42705ab9b69c155a2006 authored almost 14 years ago
this is actually a workaround for a bug in gcc, whereby it asserts
inequality of the keys being ...
note that this header is still bogus and needs a lot of work and
factoring into arch-dependent p...
417dbe92cbecae31aa569cb4033560eb140bff56 authored almost 14 years ago
56b784d603827a564a40b19228078a361959cd14 authored almost 14 years ago
5cbd76c6b05b381f269e0e204e10690d69f1d6ea authored almost 14 years ago
It's not necessary to save any registers on the stack across syscall in
x86_64 __set_thread_area...
22cd9cae819a0fd432da4b1d21502a242871e5d9 authored almost 14 years ago
bad481266e8744f8c4241e577f06e8cabf6f7f89 authored almost 14 years ago
571312de5fe09764b2d469642636934f6d8cf608 authored almost 14 years ago