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

add syscall wrapper for flock

it should be noted that flock does not mix well with standard fcntl
locking, but nonetheless som...

55b123b5ede22f5c401d2992ae933a2f935dac6c authored almost 14 years ago
fix bug whereby getopt_long allowed mismatch in last char of option name

6f0259a4fc7d827db027fe122377687ef780e17c authored almost 14 years ago
fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it

RLIM_* is in the reserved namespace for this header

45a3219944f03ece5742b6aecb79b6dc7c9ac0bb authored almost 14 years ago
fix and cleanup suseconds_t/timeval stuff (broken on 64-bit)

trash in the upper 32 bits was making the kernel sleep forever in
select on 64-bit systems.

cac7d837ccc35b7e80d8f1eb7338f8e9d8b1b2d8 authored almost 14 years ago
implement getgrouplist (for initgroups), formerly dummied-out

91e836fda7d4e2a4ba38d5faec6e3876b1b5e179 authored almost 14 years ago
fix prototypes/signature for setgroups, etc.

3f44f298e46b78cb8fe80be76798e799589ae55e authored almost 14 years ago
fix incorrect GNU sighandler_t typedef

0f5b43550c071832afd0c2e21e9c9fe9a2260ac6 authored almost 14 years ago
implement memrchr (nonstandard) and optimize strrchr in terms of it

6597f9ac133fd4f47dea307d6260fd52eae77816 authored almost 14 years ago
add ptsname_r (nonstandard) and split ptsname (standard) to separate file

this eliminates the ugly static buffer in programs that use ptsname_r.

750b738e53f799443fcfcd3a0751318c072a022f authored almost 14 years ago
speed up threaded fork

after fork, we have a new process and the pid is equal to the tid of
the new main thread. there ...

e2915eeeea244d3818d5eb7532ed35c6cf43c8fd authored almost 14 years ago
more changes for upcoming 0.7.8

0913560a3ffd4572d926b4f9bed3dbf3e6a1b3f0 authored almost 14 years ago
optimize ntohl etc. in terms of bswap functions

we can do this without violating the namespace now that they are
macros/inline functions rather ...

c89862660bd3845ace7977480db3a43dc80475f4 authored almost 14 years ago
move bswap functions to static inline in byteswap.h

c546be175c169399420fff4706cd1d4fcefd7d31 authored almost 14 years ago
fix broken bswap_32

4f4ba4c02f6e670d679b2ffba2645d709ddf4dd9 authored almost 14 years ago
utmpx.h is no longer under standards, so expose ut_exit structure

0729fd9fd94bf39c49741b61641c68411ccc2cbe authored almost 14 years ago
add some traditional aliases to stat.h

7ecab79f581c9bd2369dc00a7649bb5af9089302 authored almost 14 years ago
fix printf("%.9g", 1.1) and similar not dropping trailing zeros

e514228043c2618f925bcfe8db71b0ff4e2b2113 authored almost 14 years ago
add missing rlimit macros

209f2bbd95cfac3a71bb8afa452c794d1ccf94cf authored almost 14 years ago
more types cleanup

the basic idea is that the only things in alltypes.h should be types
that either vary from syste...

43b2e9bf26371e096b69f4753ff9f6dbec437f5e authored almost 14 years ago
cleanup types stuff in headers, fix missing u_int*_t in sys/types.h

28bde3b78746c4f773600c415fbc740efec4e311 authored almost 14 years ago
fix errno handling in scandir:

1. saved errno was not being restored, illegally clearing errno to 0.
2. no need to backup and s...

dae17a1aaf25d8333e729173d86659066607d87d authored almost 14 years ago
fix fputwc return value

52458cfa8c79a9eacb81e151e15cdeff04b75d37 authored almost 14 years ago
remove ugly warning-suppression hack from crypt - this invokes UB!

01612447847063c2c9b574a3df6c197d26fd1533 authored almost 14 years ago
update README since we now DO have a mailing list

5eaa22132b8bf22f4074baed2eb1eb9b9a799fd5 authored almost 14 years ago
add some ugly legacy type names in sys/types.h (u_char etc.)

2555fe1b6da21119f87d407ef3838648d5fd601d authored almost 14 years ago
add legacy BSD-style timer*() macros in sys/time.h

691b20bec013c7a2758a38bafd21b7649c2cc920 authored almost 14 years ago
add missing UTIME_* macros in sys/stat.h

4a19634f07821cf4ef0e9a1d060e148dd2a429fd authored almost 14 years ago
add missing float.h macros

actually FLT_ROUNDS needs to expand to a static inline function that
obtains the current roundin...

196d6437dc69ede78af29d500f8ae8d650a17515 authored almost 14 years ago
run pthread tsd destructors when a timer thread pretends to exit

2063c4cac27f118c21dcb9352e8a4903131c88c8 authored almost 14 years ago
greatly improve SIGEV_THREAD timers

calling pthread_exit from, or pthread_cancel on, the timer callback
thread will no longer destro...

82171d6ac0d84876cdc6dd6319b0790b42cdb47e authored almost 14 years ago
prepare notes for 0.7.8 release

2d1d62ed47452126bb632207dd64b0fdaf4c13ed authored almost 14 years ago
work around a nasty bug in linux readv syscall

according to posix, readv "shall be equivalent to read(), except..."
that it places the data int...

2cff36a84f268c09f4c9dc5a1340652c8e298dc0 authored almost 14 years ago
better fix sysconf pthread stack min

67e793e5e14fe031569117fd88328268e67ad4ee authored almost 14 years ago
consistency with pthread stack min in limits.h

5e72cb4a363fbf2e5b4cbeddbfde2d98ec209056 authored almost 14 years ago
fix broken sigsetjmp on x86_64

60685ecad1c2398b4ab95fa7bf88c8336d914a6c authored almost 14 years ago
workaround broken msghdr struct on 64bit linux

POSIX clearly specifies the type of msg_iovlen and msg_controllen, and
Linux ignores it and make...

7168790763cdeb794df52be6e3b39fbb021c5a64 authored almost 14 years ago
fix ipv6 address printing: 2001 appeared as 201, etc.

5b8d81f706da0b7dc0abb5d0d74595d5b2f60d52 authored almost 14 years ago
fix broken dns response parsing code that made most ipv6 lookups fail

d104c1f7e22b9745b6028ff8fbc3bc88137ba1c2 authored almost 14 years ago
return the requested string as the "canonical name" for numeric addresses

previously NULL was returned in ai_canonname, resulting in crashes in
some callers. this behavio...

e2cc0bee118d7a282bdce0b71db433def3022fb6 authored almost 14 years ago
fix uninitialized variables in dns lookup code

d4fbebe18d2d063069b1505d357a1ff3b5ca0ab8 authored almost 14 years ago
fix bug in TRE found by clang (typo && instead of &)

74f75541ffb73181edcc0d7e4efcc4325242e1d9 authored almost 14 years ago
fix misplaced *'s in string functions (harmless)

cb8dff2149c393c94c2abbef186c564829b97e93 authored almost 14 years ago
fix broken unsigned comparison in wcstoumax

4095f8338d77cad73a8afbf2d4a0d7987e472bab authored almost 14 years ago
fix breakage due to converting a return type to size_t in iconv...

bb8d3d00e239f1929af29c441eb729132ffeed83 authored almost 14 years ago
fixed crash in new rsyscall (failure to set sa_flags for signal handler)

6682ed1e744dab88f22b9188e3be5746abbae06e authored almost 14 years ago
consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix

c2cd25bff89c3581780e7eb267262cb8c4da0d38 authored almost 14 years ago
move rsyscall out of pthread_create module

this is something of a tradeoff, as now set*id() functions, rather
than pthread_create, are what...

b2486a8922bf4977bd82c8190258e39de28c053b authored almost 14 years ago
pthread exit stuff: don't bother setting errno when we won't check it.

74950b336d27532718428c7f5f98409c74f30819 authored almost 14 years ago
fix rsyscall handler: must not clobber errno from signal context

622804ece745732da0998ec45a2931d94f9dcb4e authored almost 14 years ago
fix typo in sys/msg.h

095ad156734a5a082e8717e59d76d75db286827c authored almost 14 years ago
add startup abi functions, dummy for now. eventually needed for c++ support.

92bd4c60315554e116d4d46b6c4b66518ffd1272 authored almost 14 years ago
add _res (__res_state()) dummy

97d0988fd816ff9474535cf356b53ce6a5acc6ef authored almost 14 years ago
add IN_LOOPBACKNET constant (nonstandard but in reserved namespace)

2b55a619e48e587a09d0620b959dd73f808d57ed authored almost 14 years ago
document more changes for 0.7.7

00817f07392c15d3614aa996c45767be8baca6e1 authored almost 14 years ago
fix prototype for strsep

1fee6186fed608ba61257e04355b5b24bd859a05 authored almost 14 years ago
fix completely bogus loop condition in getmntent_r

somehow this worked on my simple fstab, but horribly broke in general,
leading to use of uniniti...

6b87e941f932a93120383de33f5237395fc1354a authored almost 14 years ago
major semaphore improvements (performance and correctness)

1. make sem_[timed]wait interruptible by signals, per POSIX
2. keep a waiter count in order to a...

a113434cd68ce30642c4995b1caadcd084be6f09 authored almost 14 years ago
fix signal-based timers with null sigevent argument

since timer_create is no longer allocating a structure for the timer_t
and simply using the kern...

cd3bb38412cfcc3bc47985ba25287e0af463609a authored almost 14 years ago
fix incorrect (and conflicting on LP64 archs) types for sysv ipc msgq functions

104d0134419eea7539cb5e0cc0405e5c6c9a0dff authored almost 14 years ago
fix (hopefully) statvfs breakage on x86_64 that resulted from fixing i386...

fc0cf2852d1c1254a0e6ab25018f02b325eadf43 authored almost 14 years ago
document more changes

59a37f8f1f95980354c8f9ca30f77324d5660aaf authored almost 14 years ago
new framework to inhibit thread cancellation when needed

with these small changes, libc functions which need to call functions
which are cancellation poi...

729cb49f52c825ac44f437e1ff0865d9f0b3626a authored almost 14 years ago
add ip6 pktinfo stuff for x86_64

these defs should probably all be moved out of bits and unified...

918a40f257328a2d7490829b54687cd38d7b787b authored almost 14 years ago
add sysv ipc message queues (completely untested)

8bb82b4e58cb4dedb276151c47a799c1e51af230 authored almost 14 years ago
getopt.h is a GNU-getopt-specific header. always expose GNU functions.

0438e9fd63bedaa43173fc26b567568ecddac55d authored almost 14 years ago
add sysexits.h legacy header

5788d97221434903407fec3f0e48b2ca19643a30 authored almost 14 years ago
implement the adjtime and adjtimex functions (nonstandard)

f209440bcfb5bee2386f00392f00f68c716850ce authored almost 14 years ago
add getmntent_r interface (all of mntent is nonstandard anyway)

2c4e9e6e4b570f4dbbcc5f2402b0257a3b43380a authored almost 14 years ago
add some missing ipv6 stuff

e86cc888dfc8a413e52194887e90ea14d4e32cb5 authored almost 14 years ago
implement if_indextoname and if_nametoindex functions

92b2eb8d0331abcf7afbddeca80ebdcf136d8b3d authored almost 14 years ago
add (nonstandard) cfmakeraw function

ef8b4b1aa68608d7dc65cad41f19b85ec0d3e7af authored almost 14 years ago
add pivot_root syscall wrapper

5546f7a73a9b7e53ee48f23d9b51922cef8c03df authored almost 14 years ago
add more legacy functions: setlinebuf and setbuffer

e72180083e4b0203d1883b6054198decdb60071c authored almost 14 years ago
alternate name for syslog.h

8b61c816933abe9ac152a05ccf8bd801f7bc13bf authored almost 14 years ago
uncomment IP_PKTINFO

this was a hack leftover from testing before the initial
check-in to git.

f93de08ca48944996695273930d528947cd382fa authored almost 14 years ago
support the nonstandard err.h interfaces

note that unlike the originals, these do not print the program
name/argv[0] because we have not ...

39e48531eff4e3c3e3e6d1339ff6085f1e2f69bc authored almost 14 years ago
release notes for next bugfix release

25ce7621e0cbbbc7d31f016f0840a07b12e68912 authored almost 14 years ago
fix misaligned read on early string termination in strchr

this could actually cause rare crashes in the case where a short
string is located at the end of...

16675df793e896174230bdb6f99865c526830d3c authored almost 14 years ago
fix overflow in printf %N$ argument handling

2f3d02cd83a46244c3f5a6fec851d7eded1376f4 authored almost 14 years ago
fix various floating point rounding and formatting errors in *printf

f9569662c08d371b85c77f025dd5c6e00b4a4c8b authored almost 14 years ago
release notes for 0.7.6 bugfix release

bd1f6eba8ca41994e7b7aefbe1513bd1b24f1279 authored almost 14 years ago
fix rare but nasty under-allocation bug in malloc with large requests

the bug appeared only with requests roughly 2*sizeof(size_t) to
4*sizeof(size_t) bytes smaller t...

b761bd19aa1ae0f95dd2146397b7f39b44a471b6 authored almost 14 years ago
simplify vdprintf implementation greatly based on recent vfprintf changes

since vfprintf will provide a temporary buffer in the case where the
target FILE has a zero buff...

98c5583ad5d633166e28034c0a3544ad48b532b6 authored almost 14 years ago
use a local temp buffer for unbuffered streams in vfprintf

this change makes it so most calls to fprintf(stderr, ...) will result
in a single writev syscal...

bd57e2b43a5b56c00a82adbde0e33e5820c81164 authored almost 14 years ago
fix nl_langinfo to actually use the existing, correct internal version

5600088d387491bd0af1879aa64e5d388805d8ec authored almost 14 years ago
make ualarm actually work (obsolete function removed from SUS)

3910e93340990a8107d9d9d1e8d5e9102817315f authored almost 14 years ago
fix various bugs in strtold:

0e10000000000000000000000000000000 was setting ERANGE

exponent char e/p was considered part of ...

e898a790538ba4c1b7fdb0d16e1cc4c98dd84185 authored almost 14 years ago
fix serious bug in strchr - char signedness

search for bytes with high bit set was giving (potentially dangerous)
wrong results. i've tested...

c68b26369e89ead7511ef113850035775c5d183d authored almost 14 years ago
prototype getdtablesize (nonstandard function)

2155afd73ef15b8a4ce0f0b488068120cca1f0b6 authored almost 14 years ago
add setresuid/setresgid functions (nonstandard)

1db283bf19c3e2a41345895b887a88aea086cb29 authored almost 14 years ago
pthread_create need not set errno

7fd3995282db788e33f1bfd7eea95b480d45c804 authored almost 14 years ago
fix statvfs syscalls (missing size argument)

7e795ca7edfb2b952abe6a839e84a94420ff8a90 authored almost 14 years ago
block all signals during rsyscall

otherwise a signal handler could see an inconsistent and nonconformant
program state where diffe...

66def4e776a0c6d68559309aa043163f77b148a5 authored almost 14 years ago
fix race condition in rsyscall handler

the problem: there is a (single-instruction) race condition window
between a thread flagging its...

1ad049b7b60b2c1704b8bb5b94ee4f95d7540b3a authored almost 14 years ago
don't trust siginfo in rsyscall handler

for some inexplicable reason, linux allows the sender of realtime
signals to spoof its identity....

c9b2d8016fca3b0545433e9d58a04c038b6fc921 authored almost 14 years ago
timer threads should sleep and stay asleep... a long time

6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba authored almost 14 years ago
revert to deleting kernel-level timer from cancellation handler

this is necessary in order to avoid breaking timer_getoverrun in the
last run of the timer event...

6f1414e10297b75a58a92b678444fd277abc9a4f authored almost 14 years ago
simplify calling of timer signal handler

f01d35184291c650f6a38f8b3da41693bfde0e70 authored almost 14 years ago
d_fileno alias for d_ino in dirent

this is nonstandard but since POSIX reserved d_ prefix in dirent.h we
might as well define it un...

06baa2b56cc64ec974f0dc6e67001d0cfa030826 authored almost 14 years ago
simplify pthread tsd key handling

537d33d33478034b62928e5cacf397b049ac78ab authored almost 14 years ago