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
it should be noted that flock does not mix well with standard fcntl
locking, but nonetheless som...
6f0259a4fc7d827db027fe122377687ef780e17c authored almost 14 years ago
RLIM_* is in the reserved namespace for this header
45a3219944f03ece5742b6aecb79b6dc7c9ac0bb authored almost 14 years ago
trash in the upper 32 bits was making the kernel sleep forever in
select on 64-bit systems.
91e836fda7d4e2a4ba38d5faec6e3876b1b5e179 authored almost 14 years ago
3f44f298e46b78cb8fe80be76798e799589ae55e authored almost 14 years ago
0f5b43550c071832afd0c2e21e9c9fe9a2260ac6 authored almost 14 years ago
6597f9ac133fd4f47dea307d6260fd52eae77816 authored almost 14 years ago
this eliminates the ugly static buffer in programs that use ptsname_r.
750b738e53f799443fcfcd3a0751318c072a022f authored almost 14 years ago
after fork, we have a new process and the pid is equal to the tid of
the new main thread. there ...
0913560a3ffd4572d926b4f9bed3dbf3e6a1b3f0 authored almost 14 years ago
we can do this without violating the namespace now that they are
macros/inline functions rather ...
c546be175c169399420fff4706cd1d4fcefd7d31 authored almost 14 years ago
4f4ba4c02f6e670d679b2ffba2645d709ddf4dd9 authored almost 14 years ago
0729fd9fd94bf39c49741b61641c68411ccc2cbe authored almost 14 years ago
7ecab79f581c9bd2369dc00a7649bb5af9089302 authored almost 14 years ago
e514228043c2618f925bcfe8db71b0ff4e2b2113 authored almost 14 years ago
209f2bbd95cfac3a71bb8afa452c794d1ccf94cf authored almost 14 years ago
the basic idea is that the only things in alltypes.h should be types
that either vary from syste...
28bde3b78746c4f773600c415fbc740efec4e311 authored almost 14 years ago
1. saved errno was not being restored, illegally clearing errno to 0.
2. no need to backup and s...
52458cfa8c79a9eacb81e151e15cdeff04b75d37 authored almost 14 years ago
01612447847063c2c9b574a3df6c197d26fd1533 authored almost 14 years ago
5eaa22132b8bf22f4074baed2eb1eb9b9a799fd5 authored almost 14 years ago
2555fe1b6da21119f87d407ef3838648d5fd601d authored almost 14 years ago
691b20bec013c7a2758a38bafd21b7649c2cc920 authored almost 14 years ago
4a19634f07821cf4ef0e9a1d060e148dd2a429fd authored almost 14 years ago
actually FLT_ROUNDS needs to expand to a static inline function that
obtains the current roundin...
2063c4cac27f118c21dcb9352e8a4903131c88c8 authored almost 14 years ago
calling pthread_exit from, or pthread_cancel on, the timer callback
thread will no longer destro...
2d1d62ed47452126bb632207dd64b0fdaf4c13ed authored almost 14 years ago
according to posix, readv "shall be equivalent to read(), except..."
that it places the data int...
67e793e5e14fe031569117fd88328268e67ad4ee authored almost 14 years ago
5e72cb4a363fbf2e5b4cbeddbfde2d98ec209056 authored almost 14 years ago
60685ecad1c2398b4ab95fa7bf88c8336d914a6c authored almost 14 years ago
POSIX clearly specifies the type of msg_iovlen and msg_controllen, and
Linux ignores it and make...
5b8d81f706da0b7dc0abb5d0d74595d5b2f60d52 authored almost 14 years ago
d104c1f7e22b9745b6028ff8fbc3bc88137ba1c2 authored almost 14 years ago
previously NULL was returned in ai_canonname, resulting in crashes in
some callers. this behavio...
d4fbebe18d2d063069b1505d357a1ff3b5ca0ab8 authored almost 14 years ago
74f75541ffb73181edcc0d7e4efcc4325242e1d9 authored almost 14 years ago
cb8dff2149c393c94c2abbef186c564829b97e93 authored almost 14 years ago
4095f8338d77cad73a8afbf2d4a0d7987e472bab authored almost 14 years ago
bb8d3d00e239f1929af29c441eb729132ffeed83 authored almost 14 years ago
6682ed1e744dab88f22b9188e3be5746abbae06e authored almost 14 years ago
c2cd25bff89c3581780e7eb267262cb8c4da0d38 authored almost 14 years ago
this is something of a tradeoff, as now set*id() functions, rather
than pthread_create, are what...
74950b336d27532718428c7f5f98409c74f30819 authored almost 14 years ago
622804ece745732da0998ec45a2931d94f9dcb4e authored almost 14 years ago
095ad156734a5a082e8717e59d76d75db286827c authored almost 14 years ago
92bd4c60315554e116d4d46b6c4b66518ffd1272 authored almost 14 years ago
97d0988fd816ff9474535cf356b53ce6a5acc6ef authored almost 14 years ago
2b55a619e48e587a09d0620b959dd73f808d57ed authored almost 14 years ago
00817f07392c15d3614aa996c45767be8baca6e1 authored almost 14 years ago
1fee6186fed608ba61257e04355b5b24bd859a05 authored almost 14 years ago
somehow this worked on my simple fstab, but horribly broke in general,
leading to use of uniniti...
1. make sem_[timed]wait interruptible by signals, per POSIX
2. keep a waiter count in order to a...
since timer_create is no longer allocating a structure for the timer_t
and simply using the kern...
104d0134419eea7539cb5e0cc0405e5c6c9a0dff authored almost 14 years ago
fc0cf2852d1c1254a0e6ab25018f02b325eadf43 authored almost 14 years ago
59a37f8f1f95980354c8f9ca30f77324d5660aaf authored almost 14 years ago
with these small changes, libc functions which need to call functions
which are cancellation poi...
these defs should probably all be moved out of bits and unified...
918a40f257328a2d7490829b54687cd38d7b787b authored almost 14 years ago8bb82b4e58cb4dedb276151c47a799c1e51af230 authored almost 14 years ago
0438e9fd63bedaa43173fc26b567568ecddac55d authored almost 14 years ago
5788d97221434903407fec3f0e48b2ca19643a30 authored almost 14 years ago
f209440bcfb5bee2386f00392f00f68c716850ce authored almost 14 years ago
2c4e9e6e4b570f4dbbcc5f2402b0257a3b43380a authored almost 14 years ago
e86cc888dfc8a413e52194887e90ea14d4e32cb5 authored almost 14 years ago
92b2eb8d0331abcf7afbddeca80ebdcf136d8b3d authored almost 14 years ago
ef8b4b1aa68608d7dc65cad41f19b85ec0d3e7af authored almost 14 years ago
5546f7a73a9b7e53ee48f23d9b51922cef8c03df authored almost 14 years ago
e72180083e4b0203d1883b6054198decdb60071c authored almost 14 years ago
8b61c816933abe9ac152a05ccf8bd801f7bc13bf authored almost 14 years ago
this was a hack leftover from testing before the initial
check-in to git.
note that unlike the originals, these do not print the program
name/argv[0] because we have not ...
25ce7621e0cbbbc7d31f016f0840a07b12e68912 authored almost 14 years ago
this could actually cause rare crashes in the case where a short
string is located at the end of...
2f3d02cd83a46244c3f5a6fec851d7eded1376f4 authored almost 14 years ago
f9569662c08d371b85c77f025dd5c6e00b4a4c8b authored almost 14 years ago
bd1f6eba8ca41994e7b7aefbe1513bd1b24f1279 authored almost 14 years ago
the bug appeared only with requests roughly 2*sizeof(size_t) to
4*sizeof(size_t) bytes smaller t...
since vfprintf will provide a temporary buffer in the case where the
target FILE has a zero buff...
this change makes it so most calls to fprintf(stderr, ...) will result
in a single writev syscal...
5600088d387491bd0af1879aa64e5d388805d8ec authored almost 14 years ago
3910e93340990a8107d9d9d1e8d5e9102817315f authored almost 14 years ago
0e10000000000000000000000000000000 was setting ERANGE
exponent char e/p was considered part of ...
e898a790538ba4c1b7fdb0d16e1cc4c98dd84185 authored almost 14 years ago
search for bytes with high bit set was giving (potentially dangerous)
wrong results. i've tested...
2155afd73ef15b8a4ce0f0b488068120cca1f0b6 authored almost 14 years ago
1db283bf19c3e2a41345895b887a88aea086cb29 authored almost 14 years ago
7fd3995282db788e33f1bfd7eea95b480d45c804 authored almost 14 years ago
7e795ca7edfb2b952abe6a839e84a94420ff8a90 authored almost 14 years ago
otherwise a signal handler could see an inconsistent and nonconformant
program state where diffe...
the problem: there is a (single-instruction) race condition window
between a thread flagging its...
for some inexplicable reason, linux allows the sender of realtime
signals to spoof its identity....
6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba authored almost 14 years ago
this is necessary in order to avoid breaking timer_getoverrun in the
last run of the timer event...
f01d35184291c650f6a38f8b3da41693bfde0e70 authored almost 14 years ago
this is nonstandard but since POSIX reserved d_ prefix in dirent.h we
might as well define it un...
537d33d33478034b62928e5cacf397b049ac78ab authored almost 14 years ago