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
previously this was being handled the same as a library-specific,
dependency-order lookup on the...
this is not a standard but it's the traditional behavior and it's more
useful because the caller...
98eddc677609c20796982f3171165700613e3cf2 authored over 12 years ago
25b88f081076a7beb2331ec219640d1a829cdcc4 authored over 12 years ago
this option is expensive and only used on old gcc's that lack
-fexcess-precision=standed, but it...
on arm, the location of the saved-signal-mask flag and mask were off
by one between sigsetjmp an...
no idea why gcc refuses to compile the C code to use a tail call, but
it's best to use asm anywa...
8e26a591d059382cd28b96e457ede2fe07c550c7 authored over 12 years ago
007c03f84f5c4666d7260a53d67249ce4bccc140 authored over 12 years ago
fe2df4ad3ea6080d01dea8d836cd4bbc896160fd authored over 12 years ago
the new version is largely the work of Solar Designer, with minor
changes for integration with m...
lr must be saved because init/fini-section code from the compiler
clobbers it. this was not a pr...
ec820f1262a5d6331ad0fe9b56a8a84365766fd1 authored over 12 years ago
based on a patch submitted by Kristian L. <[email protected]>
9cf9c39e48342a5d4007824d49b88132d93d83e3 authored over 12 years agopatch submitted by Kristian L. <[email protected]>
213db3e3fa715288dea6a0d317b9c04b609dca7b authored over 12 years ago
on old kernels, there's no way to detect errors; we must assume
negative syscall return values a...
The long double adjustment was wrong:
The usual check is
mant_bits & 0x7ff == 0x400
before doi...
unicode char data has both "W" and "F" wide types and the old table
only included the "W" ones. ...
this is silly, but it makes apps that read binary junk and interpret
it as ld80 "safer", and it ...
it should return the error code rather than 0/-1 and setting errno.
c21a19d5a559cbd39963b89547900d24624f1fad authored over 12 years agocea106fb8976d04b916953469439bc58fa111266 authored over 12 years ago
at the point pclose might receive and act on cancellation, it has
already invalidated the FILE p...
9799560f79d37fb53d821b2f0b591a6ff260ebc3 authored over 12 years ago
close was the only cancellation point called from popen, but it left
popen with major resource l...
also check for failure of dup2 and abort the child rather than
reading/writing the wrong file.
posix has resolved to add this usage; for now, we just avoid writing
anything to the new locale ...
if the buffer is too short, at least return a partial string. this is
helpful if the caller is l...
this one could never cause any problems unless the compiler/machine
goes to extra trouble to bre...
patch by nsz
82a4499e671db62fab1e3928de6e00bb109d4c8d authored over 12 years ago
dynamic-allocation of the structure is not valid; it can crash an
application if malloc fails. s...
this was actually dangerously wrong, but presumably nobody uses this
broken function anymore any...
if we eventually have build options, it might be nice to make an
option to dummy this out again,...
ca1773d8645672f6e67b10bc94aa5639b01a1ebe authored over 12 years ago
large precision values could cause out-of-bounds pointer arithmetic in
computing the precision c...
request/patch by william haddonthethird, slightly modifed to add
_GNU_SOURCE feature test macro ...
5bc8e845bb4de2c472581136d2268c4bf103bcd4 authored over 12 years ago
this is mildly ugly, but less ugly than gnulib trying to poke at the
definition of the FILE stru...
for seekable files, posix imposed requirements on the offset of the
underlying open file descrip...
ca8a4e7fbdeeb05b58ac3d456bae696623b8e312 authored over 12 years ago
there is no need/use for a flush hook. the write function serves this
purpose already. i origina...
26710be7148d51a954c4fe4acedab90d161e609a authored over 12 years ago
673633c689989c5cb7ba0b919f8ef82c4041e2ec authored over 12 years ago
apparently this was never tested before.
a2f149b5d183a842487cc7c76d63511b67db32f5 authored over 12 years ago
the old behavior was to only consider a stream to be "reading" or
"writing" if it had buffered, ...
3b43d10fafd64ac0a93fab463330a936b90ec15c authored over 12 years ago
one file was reusing another file's macro name, and many had
inconsistent underscores and applic...
it probably does not matter for /dev/null, but this should be done
consistently anyway.
this is required in case dtors use stdio.
also remove the old comments; one was cruft from when...
ad5a332c750550adbd45f474e5936cae65b4fd5e authored over 12 years agode05a2ac22d33bd7631f182143ecea6dd01d9406 authored over 12 years ago
stime is not _XOPEN_SOURCE, and some functions were missing with
_BSD_SOURCE..
23be72ae4534c13a7fd03f580934cc251ada619f authored over 12 years ago
these are not exposed publicly in any header, but the few programs
that use them (modutils/kmod,...
based on patch by Emil Renner Berthing, with minor changes to dirent.h
for LFS64 and organizatio...
these were left in glibc for binary compatibility after the public
part of the interface was rem...
6343ac8f5ab41b993a1b07563f9fc3787528d3ef authored over 12 years ago
i originally omitted these (optional, per POSIX) interfaces because i
considered them backwards ...
f457b1cb0d49f1b47bc7baf4bb516f1860816f03 authored over 12 years ago
the types of these expressions must match the integer promotions.
unsigned 8- and 16-bit values ...
signedness issue kept %ls with no precision from working at all
63d40196b91df8937424cfa4495e8991c5a20827 authored over 12 years ago
printf was not printing too many characters, but it was reading one
too many wchar_t elements fr...
1429ce9ba2425b8abeefc311d56db5efe801d9d2 authored over 12 years ago
this broke the busybox "free" utility (memory reporting) and possibly
other things like uptime.
the field width limit was not being cleared before reading the
literal, causing spurious failure...
this issue affects the last gpl2 version of binutils, which some
people are still using out of a...
f1fd7577ba7eb2a202833e89c63b8e01dedfca05 authored over 12 years ago
it's possible that the user has provided a compiler that does not have
any libc to link to, so l...
in theory we could support stack protector in the libc itself, and
users wanting to experiment w...
some broken distro-provided toolchains have modified gcc to produce
only "gnu hash" dynamic hash...
this is not tested yet, but should work to get rid of unwanted
--hash-style=gnu hacks present in...
the error will propagate up and be printed to the user at program
start time; at runtime, dlopen...
908bed20cd877a6c0c290c0c56cc7057ecc00296 authored over 12 years ago
this is ugly and stupid, but now that the *64 symbol names exist, a
lot of broken GNU software d...
bd45dc9446166186cfdd5bc89ba719afa9ee7d4c authored over 12 years ago
278883d0e2fbf698370b8ddb16b79d5fff0febf3 authored over 12 years ago
Per POSIX, "The abort() function shall cause abnormal process
termination to occur, unless the s...
for some nonsensical reason, glibc's headers use inline functions that
redirect some of the stan...
I've been looking for data that would suggest a good default, and
since little has shown up, i'm...
this fix is necessary because a program could be started with some of
the implementation-reserve...
this action is now performed in pthread_self initialization; it must
be performed there in case ...
this should be the last major fix needed to support running
glibc-linked conforming POSIX progra...
lots of broken programs expect this, and it's gotten to the point of
being a troubleshooting FAQ...
this was fixed previously on i386 but the corresponding code on x86_64
was missed.
9ea20dcbaafe790bb034adadf05698088a2f9fab authored over 12 years ago
these will NOT be used when compiling with -D_LARGEFILE64_SOURCE on
musl; instead, they exist in...
linking the wrong crt1.o resulted in textrels and thus crashing
ed6717277c4c5d6f3296d931d35a0f1beb73a024 authored over 12 years agono idea where I got the idea fpurge should exist...
a34b0465ba14c70532b8eaba650a9eac228fce57 authored over 12 years agoalso fix up distinction of what is GNU-only and what's GNU+BSD
b63cab76ec1cd91b518cd3bad72ee993c94d44a2 authored over 12 years ago15c7af3e21e1e402067f9c2a7c8d3094ddc7f54f authored over 12 years ago
b1cf11c090900cc476c2a26d739e16aaffbdf6f5 authored over 12 years ago
5c1909a8d210cd08a776a2fd6681dbea1f0ae480 authored over 12 years ago
two actual issues: one is that __dynlink no longer wants/needs a GOT
pointer argument, so the co...
bug report and solution by Richard Pennington
054ba185999d29f6ae9a8e19549da95f783655b6 authored over 12 years agoissue reported by Richard Pennington; slightly simpler fix applied
6436b371af2b52a7b60a5b4f304d1aca2f9f60b3 authored over 12 years agobug report and solution by Richard Pennington
aefd0f69bd22b825a6196e65b40a02e79fec23b5 authored over 12 years ago
unfortunately in dynamic-linked programs, these macros cause
pthread_self to be initialized, whi...
if the process started with these signals blocked, cancellation could
fail or setxid could deadl...
TRE has a broken assumption that wchar_t is signed, which is a sane
expectation, but not require...
7efd14ecc92de7ccdf0209168a4ae6b73cd9e07a authored over 12 years ago
the bug was that cancellation requests which arrived while a
cancellation point was interrupted ...
54c567649eaadb99175b3883659872f791e482b1 authored over 12 years ago