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

introduce namespace-safe rwlock aliases; use in pthread_key_create

commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 inadvertently
introduced namespace violations by...

639bcf251e549f634da9a3e7ef8528eb2ec12505 authored almost 6 years ago by Rich Felker <[email protected]>
rewrite pthread_key_delete to use global thread list

with the availability of the thread list, there is no need to mark tsd
key slots dirty and clean...

ba74a42cee90c9a4425188a021b6ad8ba80b9468 authored almost 6 years ago by Rich Felker <[email protected]>
rewrite __synccall in terms of global thread list

the __synccall mechanism provides stop-the-world synchronous execution
of a callback in all thre...

e4235d70672d9751d7718ddc2b52d0b426430768 authored almost 6 years ago by Rich Felker <[email protected]>
track all live threads in an AS-safe, fully-consistent linked list

the hard problem here is unlinking threads from a list when they exit
without creating a window ...

8f11e6127fe93093f81a52b15bb1537edc3fc8af authored almost 6 years ago by Rich Felker <[email protected]>
always block signals for starting new threads, refactor start args

whether signals need to be blocked at thread start, and whether
unblocking is necessary in the e...

04335d9260c076cf4d9264bd93dd3b06c237a639 authored almost 6 years ago by Rich Felker <[email protected]>
for SIGEV_THREAD timer threads, replace signal handler with sigwaitinfo

this eliminates some ugly hacks that were repurposing the start
function and start argument fiel...

5b74eed3b301e2227385f3bf26d3bb7c2d822cf8 authored almost 6 years ago by Rich Felker <[email protected]>
defer free of thread-local dlerror buffers from inconsistent context

__dl_thread_cleanup is called from the context of an exiting thread
that is not in a consistent ...

aa5a9d15e09851f7b4a1668e9dbde0f6234abada authored almost 6 years ago by Rich Felker <[email protected]>
fix behavior of gets when input line contains a null byte

the way gets was implemented in terms of fgets, it used the location
of the null termination to ...

b2020571f07beaa9873ef0e5ade456b57b589042 authored almost 6 years ago by Rich Felker <[email protected]>
redesign robust mutex states to eliminate data races on type field

in order to implement ENOTRECOVERABLE, the implementation has
traditionally used a bit of the mu...

099b89d3840c30d7dd962e18668c2e6d39f0c626 authored almost 6 years ago by Rich Felker <[email protected]>
fail fdopendir for O_PATH file descriptors

fdopendir is specified to fail with EBADF if the file descriptor
passed is not open for reading....

042b3ee452f542e0e16d847f90777e8c3a012375 authored almost 6 years ago by Rich Felker <[email protected]>
update line discipline constants

1dd915c37090b32a6220488f99ce0f9be86eb46d authored almost 6 years ago by Bobby Bingham <[email protected]>
move arch-invariant definitions out of bits/ioctl.h

3517d74a5e04a377192d1f4882ad6c8dc22ce69a authored almost 6 years ago by Bobby Bingham <[email protected]>
locale: ensure dcngettext() preserves errno

Some packages call gettext to format a message to be sent to perror.
If the currently set user l...

8d82971775343f3c52294e957c52ad1f758395ef authored almost 6 years ago by A. Wilcox <[email protected]>
release 1.1.21

1691b23955590d1eb66a11158fdd91c86337e886 authored almost 6 years ago by Rich Felker <[email protected]>
fix call to __pthread_tsd_run_dtors with too many arguments

commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 removed the argument,
making it a constraint vio...

ce32db471500bc43e8cf7c8b84198a77fda78a71 authored almost 6 years ago by Rich Felker <[email protected]>
configure: accept ppc[64] as alias for powerpc[64] in gcc tuples

apparently some distros use this form, and it seems to be supported in
the gcc build system.

aba17aa3599c06af39ca7a89188070f4184945c5 authored almost 6 years ago by Rich Felker <[email protected]>
fix unintended linking dependency of pthread_key_create on __synccall

commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 attempted to do this
already, but omitted from p...

16a522bab047f3014f08302042ab90cf5812b131 authored almost 6 years ago by Rich Felker <[email protected]>
halt getspnam[_r] search on error accessing TCB shadow

fallback to /etc/shadow should happen only when the entry is not found
in the TCB shadow. otherw...

de7dc1318f493184b20f7661bc12b1829b957b67 authored about 6 years ago by Rich Felker <[email protected]>
don't set errno or return an error when getspnam[_r] finds no entry

this case is specified as success with a null result, rather than an
error, and errno is not to ...

9db81b862d95326d43af7c7fae9078ad9ff5bd6f authored about 6 years ago by Rich Felker <[email protected]>
make sem_wait and sem_timedwait interruptible by signals

this reverts commit c0ed5a201b2bdb6d1896064bec0020c9973db0a1, which
was based on a mistaken read...

21a172dd36cae7a08492fd3a7500d7bf0daee13e authored about 6 years ago by Rich Felker <[email protected]>
don't fail pthread_sigmask/sigprocmask on invalid how when set is null

the resolution of Austin Group issue #1132 changes the requirement to
fail so that it only appli...

1ec71c531e118971e70ddd0e9e2ed9def2b3c779 authored about 6 years ago by Rich Felker <[email protected]>
add __timedwait backend workaround for old kernels where futex EINTRs

prior to linux 2.6.22, futex wait could fail with EINTR even for
non-interrupting (SA_RESTART) s...

a63c0104e496f7ba78b64be3cd299b41e8cd427f authored about 6 years ago by Rich Felker <[email protected]>
on failed aio submission, set aiocb error and return value

it's not clear whether this is required, but it seems arguable that it
should happen. for exampl...

c00cdefa1da17f60b3179704528582ef320e61b8 authored about 6 years ago by Rich Felker <[email protected]>
don't create aio queue/map structures for invalid file descriptors

the map structures in particular are permanent once created, and thus
a large number of aio func...

a9a9882fbe089a0a9f562d8ecd4c96e52b3548f1 authored about 6 years ago by Rich Felker <[email protected]>
move aio queue allocation from io thread to submitting thread

since commit c9f415d7ea2dace5bf77f6518b6afc36bb7a5732, it has been
possible that the allocator i...

8511511c583cf44ed3aa0bbcaab9168956dce493 authored about 6 years ago by Rich Felker <[email protected]>
fix and future-proof against stack overflow in aio io threads

aio threads not using SIGEV_THREAD notification are created with small
stacks and no guard page,...

1a6d6f131bd60ec2a858b34100049f0c042089f2 authored about 6 years ago by Rich Felker <[email protected]>
add namespace-safe version of getauxval for internal use

26c66c485c04fa782b8c6f7450bf008f4457b5a8 authored about 6 years ago by Rich Felker <[email protected]>
add NT_VMCOREDD to elf.h from linux v4.18

used for device driver dump in /proc/vmcore
new in linux commit 2724273e8fd00b512596a77ee063f49b...

1de4788610ab55d26937daa645d8fc25f5f43e39 authored about 6 years ago by Szabolcs Nagy <[email protected]>
add AT_MINSIGSTKSZ to elf.h from linux v4.18

new in linux commit 94b07c1f8c39c6d839df35fa28ffd1785d385897

currently only supported on aarch64

836022b1c3655f82cfc8ed5fc62006526ec73b8b authored about 6 years ago by Szabolcs Nagy <[email protected]>
add io_pgetevents and rseq syscall numbers from linux v4.18

io_pgetevents is new in linux commit
7a074e96dee62586c935c80cecd931431bfdd0be

rseq is new in li...

d149e69c02eb558114f20ea718810e95538a3b2f authored about 6 years ago by Szabolcs Nagy <[email protected]>
add TRAP_UNK si_code to signal.h from linux v4.18

used for undiagnosed trap exceptions where linux previously set si_code
to 0. new in linux commi...

ca73bea05d83f3775cf1dd6c8135a69a20c78bf4 authored about 6 years ago by Szabolcs Nagy <[email protected]>
add SIGSYS support to sys/signalfd.h from linux v4.18

new in linux commit 76b7f670730e87974f71df9f6129811e2769666e

in struct signalfd_siginfo the pad...

a71276e2582ee034432cb52c17d786df610c2cf0 authored about 6 years ago by Szabolcs Nagy <[email protected]>
add AF_XDP to sys/socket.h from linux v4.18

new address family and related macros were added in linux commit
68e8b849b221b37a78a110a0307717d...

0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5 authored about 6 years ago by Szabolcs Nagy <[email protected]>
update netinet/udp.h for linux v4.18

add UDP_NO_CHECK6_* to restrict zero UDP6 checksums, new in linux commit
1c19448c9ba6545b80ded18...

4b9b8c8ee66a0b789c9be74e068828f2b74ef6ed authored about 6 years ago by Szabolcs Nagy <[email protected]>
update netinet/tcp.h for linux v4.18

add packet delivery info to tcp_info,
new in linux commit feb5f2ec646483fb66f9ad7218b1aad2a93a2a...

ac1af87e1d26c476833de272f7ad484ad12fa67c authored about 6 years ago by Szabolcs Nagy <[email protected]>
fix wordexp not to read past end of string ending with lone backslash

7c8454790080395bf5b27857a766b3468aa5ed98 authored about 6 years ago by Rich Felker <[email protected]>
fix memccpy to not access buffer past given size

memccpy would return a pointer over the given size when c is not
found in the source buffer and ...

d9bdfd1644320ab916ea31d95da4bf641042209a authored about 6 years ago by Quentin Rameau <[email protected]>
fix regression in access to optopt object

commit b9410061e2ad6fe91bb3910c3adc7d4a315b7ce9 inadvertently omitted
optopt from the "dynamic l...

39ef612aa193cc6e954ac5a01574300ccd4b7ef9 authored about 6 years ago by Rich Felker <[email protected]>
optimize two-way strstr and memmem bad character shift

first, the condition (mem && k < p) is redundant, because mem being
nonzero implies the needle i...

122d67f846cb0be2c9e1c3880db9eb9545bbe38c authored about 6 years ago by Rich Felker <[email protected]>
fix regression in setlocale for LC_ALL with per-category setting

commit d88e5dfa8b989dafff4b748bfb3cba3512c8482e inadvertently changed
the argument pased to __ge...

04e18b61dfde85e34ddea15e4a7d49f24c47bb73 authored about 6 years ago by Rich Felker <[email protected]>
fix failure to flush stderr when fflush(0) is called

commit ddc947eda311331959c73dbc4491afcfe2326346 fixed the
corresponding bug for exit which was i...

79f653c6bc2881dd6855299c908a442f56cb7c2b authored about 6 years ago by Rich Felker <[email protected]>
fix deadlock and buffered data loss race in fclose

fflush(NULL) and __stdio_exit lock individual FILEs while holding the
open file list lock to wal...

4a086030264f5cf423ea76453ef721e2c8e2e093 authored about 6 years ago by Rich Felker <[email protected]>
__libc_start_main: slightly simplify stage2 pointer setup

Use "+r" in the asm instead of implementing a non-transparent copy by
applying "0" constraint to...

00bd3b7d3006c5d350959c994fa65358bf65e6a2 authored about 6 years ago by Alexander Monakov <[email protected]>
remove commented-out debug printf from strstr

this was leftover from before the initial commit.

0239cd0681e889a269fb7691f60e81ef8d081e6b authored about 6 years ago by Rich Felker <[email protected]>
fix spuriously slow check in twoway strstr/memmem cores

mem0 && mem && ... is redundant since mem can only be nonzero when
mem0 is nonzero.

8f5a820d147da36bcdbddd201b35d293699dacd8 authored about 6 years ago by Rich Felker <[email protected]>
don't omit setting errno in internal __map_file function

a caller needs the reason for open (or fstat, albeit unlikely) failure
if it's going to make dec...

1b52863e244ecee5b5935b6d36bb9e6efe84c035 authored about 6 years ago by Rich Felker <[email protected]>
make the default locale (& a variant) failure-free cases for newlocale

commit aeeac9ca5490d7d90fe061ab72da446c01ddf746 introduced fail-safe
invariants that creating a ...

5af1f5942b2068d99182991dc212bdb3f5e9973d authored about 6 years ago by Rich Felker <[email protected]>
simplify newlocale and allow failure for explicit locale names

unify the code paths for allocated and non-allocated locale objects,
always using a tmp object. ...

74e704006a0004058fc38806a19c1552b1e2463d authored about 6 years ago by Rich Felker <[email protected]>
remove volatile qualification from category pointers in __locale_struct

commit 63c188ec42e76ff768e81f6b65b11c68fc43351e missed making this
change when switching from at...

6753fb68b84cd7155d8b9a3a3bc3eff1ab6a8030 authored about 6 years ago by Rich Felker <[email protected]>
adapt setlocale to support possibility of failure

introduce a new LOC_MAP_FAILED sentinel for errors, since null
pointers for a category's locale ...

d88e5dfa8b989dafff4b748bfb3cba3512c8482e authored about 6 years ago by Rich Felker <[email protected]>
adjust types in FILE struct to make line buffering check less expensive

the choice of signed char for lbf was a theoretically space-saving
hack that was not helping, an...

8084d6ab57cdb0b8f328d3cdbad3b9d09eaaee04 authored about 6 years ago by Rich Felker <[email protected]>
optimize internal putc_unlocked macro used in putc

to check whether flush due to line buffering is needed, the int-type
character argument must be ...

d8870dcf385a75ae8df2f8bb5bd5ee59525ed348 authored about 6 years ago by Rich Felker <[email protected]>
fix wrong result for putc variants due to operator precedence

the internal putc_unlocked macro was wrongly returning a meaningless
boolean result rather than ...

a21a6092cfc0c7e7cb8c0273e5f94d54c0e0eabd authored about 6 years ago by Rich Felker <[email protected]>
further optimize getc/putc when locking is needed

check whether the lock is free before loading the calling thread's
tid. if so, just use a dummy ...

9dd19122565c70bc6e0fff35724c91a61209a629 authored about 6 years ago by Rich Felker <[email protected]>
use prototype for function pointer in static link libc init barrier

this is not needed for correctness, but doesn't hurt, and in some
cases the compiler may pessimi...

7eda27d025d6d52f855588590366c83d737eb727 authored about 6 years ago by Rich Felker <[email protected]>
fix error in constraints for static link libc init barrier

commit 4390383b32250a941ec616e8bff6f568a801b1c0 inadvertently used "r"
instead of "0" for the in...

ba0d83e822b9ea386881feaa1e478114d147bd27 authored about 6 years ago by Rich Felker <[email protected]>
fix build regression due to missing file for putc changes

commit d664061adb4d7f6647ab2059bc351daa394bf5da inadvertently omitted
the new file putc.h.

ab5e1e340890b95e61d7161d7178c6a26247ad61 authored about 6 years ago by Rich Felker <[email protected]>
bypass indirection through pointer objects to access stdin/out/err

by ABI, the public stdin/out/err macros use extern pointer objects,
and this is necessary to avo...

d8f2efa708a027132d443f45a8c98a0c7c1b2d77 authored about 6 years ago by Rich Felker <[email protected]>
optimize hot paths of putc with manual shrink-wrapping

this is the analog of commit dd8f02b7dce53d6b1c4282439f1636a2d63bee01,
but for putc.

d664061adb4d7f6647ab2059bc351daa394bf5da authored about 6 years ago by Rich Felker <[email protected]>
optimize hot paths of getc with manual shrink-wrapping

with these changes, in a program that has not created any threads
besides the main thread and th...

dd8f02b7dce53d6b1c4282439f1636a2d63bee01 authored about 6 years ago by Rich Felker <[email protected]>
document and make explicit desired noinline property for __init_libc

on multiple occasions I've started to flatten/inline the code in
__init_libc, only to rediscover...

7136836e14e5286afe74a354c289601375bd472d authored about 6 years ago by Rich Felker <[email protected]>
impose barrier between thread pointer setup and use for static linking

this is the analog of commit 1c84c99913bf1cd47b866ed31e665848a0da84a2
for static linking. unlike...

4390383b32250a941ec616e8bff6f568a801b1c0 authored about 6 years ago by Rich Felker <[email protected]>
remove ancient clang workaround from powerpc pthread_arch.h asm

versions of clang all the way back to 3.1 lack the bug this was
purportedly working around.

7f01a734feddaabf366bc644c926e675656cab62 authored about 6 years ago by Rich Felker <[email protected]>
make thread-pointer-loading asm non-volatile

this will allow the compiler to cache and reuse the result, meaning we
no longer have to take ca...

a4a3e4dbc086eb58e5cf6118480ef4825788e231 authored about 6 years ago by Rich Felker <[email protected]>
restore attribute((const)) to pthread_self and errno location decls

revert commit a603a75a72bb469c6be4963ed1b55fabe675fe15.

as a result of commit 1c84c99913bf1cd47...

bf453d68393f7eea5965319e21311e56d71fa53c authored about 6 years ago by Rich Felker <[email protected]>
add new stage 2b to dynamic linker bootstrap for thread pointer

commit a603a75a72bb469c6be4963ed1b55fabe675fe15 removed attribute
const from __errno_location an...

1c84c99913bf1cd47b866ed31e665848a0da84a2 authored about 6 years ago by Rich Felker <[email protected]>
move stdio locking MAYBE_WAITERS definition to stdio_impl.h

don't repeat definition in two places.

2085378a4fad15f65686d78f52dc6fb5362bdf20 authored about 6 years ago by Rich Felker <[email protected]>
fix misleading placement of statement on same line as for loop in ldso

the placement triggered -Wmisleading-indentation warnings if enabled,
and was gratuitously confu...

b36c37f6fa9692b03bbdeda2b57b2e8a26d8f315 authored about 6 years ago by Rich Felker <[email protected]>
x86_64: add single instruction fma

fma is only available on recent x86_64 cpus and it is much faster than
a software fma, so this s...

e9016138886527a739804634048aeac16092dc1e authored about 6 years ago by Szabolcs Nagy <[email protected]>
arm: add single instruction fma

vfma is available in the vfpv4 fpu and above, the ACLE standard feature
test for double precisio...

7396ef0a05b834bf92c4f268a3336c0bc10c3593 authored about 6 years ago by Szabolcs Nagy <[email protected]>
powerpc: add single instruction fabs, fabsf, fma, fmaf, sqrt, sqrtf

These are only available on hard float target and sqrt is not available
in the base ISA, so furt...

7c5f3bb955123ba65bbdedee0e4499ef78a5747c authored about 6 years ago by Szabolcs Nagy <[email protected]>
s390x: add single instruction fma and fmaf

These are available in the s390x baseline isa -march=z900.

1da534ada8a66424e0d23e94ab6750b689be6d64 authored about 6 years ago by Szabolcs Nagy <[email protected]>
allow escaped path-separator slashes in glob

previously (before and after rewrite), spurious escaping of path
separators as \/ was not treate...

481006fd8887b80c4f794085179047e28102b01a authored about 6 years ago by Rich Felker <[email protected]>
rewrite core of the glob implementation for correctness & optimization

this code has been long overdue for a rewrite, but the immediate cause
that necessitated it was ...

d44b07fc904f6a0d31ba025f3e9f423c1e47547e authored about 6 years ago by Rich Felker <[email protected]>
fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0

commit 6ba5517a460c6c438f64d69464fdfc3269a4c91a modified
__tls_get_addr to offset the address by...

37cd1676395e5ebdae3f372bf59d4fef54be9818 authored about 6 years ago by Rich Felker <[email protected]>
combine arch ABI's DTP_OFFSET into DTV pointers

as explained in commit 6ba5517a460c6c438f64d69464fdfc3269a4c91a, some
archs use an offset (typic...

b6d701a47504e5ef9c6a19b2f6a703c72cb9e8ac authored about 6 years ago by Rich Felker <[email protected]>
fix redundant computations of strlen in glob append function

len was already passed as an argument, so don't use strcat, and use
memcpy instead of strcpy.

09a805a62307307230a31125425d0c2b0b6f332e authored about 6 years ago by Rich Felker <[email protected]>
fix invalid substitute of [1] for flexible array member in glob

e2552581bc004f7dc5ee9ac220cad8abeae19bba authored about 6 years ago by Rich Felker <[email protected]>
fix fesetround error checking

Rounding modes are not bit flags, but arbitrary non-negative integers.

7b384c42b73ca1a1e150b3f255990ec53cedec60 authored about 6 years ago by Szabolcs Nagy <[email protected]>
fix build regression on armhf in tlsdesc asm

when invoking the assembler, arm gcc does not always pass the right
flags to enable use of vfp i...

b3389bbfb58697623621c70fade6e239952d0813 authored about 6 years ago by Rich Felker <[email protected]>
allow freeaddrinfo of arbitrary sublists of addrinfo list

the specification for freeaddrinfo allows it to be used to free
"arbitrary sublists" of the list...

d1395c43c019aec6b855cf3c656bf47c8a719e7f authored over 6 years ago by Rich Felker <[email protected]>
inline cp15 thread pointer load in arm dynamic TLSDESC asm when possible

the indirect function call is a significant portion of the code path
for the dynamic case, and m...

7bf773a8f9b97875ba67b646c1681ac5ca22016f authored over 6 years ago by Rich Felker <[email protected]>
add TLSDESC support for 32-bit arm

unlike other asm where the baseline ISA is used, these functions are
hot paths and use ISA-level...

0beb9dfbecad38af9759b1e83eeb007e28b70abb authored over 6 years ago by Rich Felker <[email protected]>
fix aliasing-based undefined behavior in string functions

use the GNU C may_alias attribute if available, and fallback to naive
byte-by-byte loops if __GN...

4d0a82170a25464c39522d7190b9fe302045ddb2 authored over 6 years ago by Rich Felker <[email protected]>
optimize nop case of wmemmove

8cd738bbee3b4e60a99b71599c338bf444070f18 authored over 6 years ago by Rich Felker <[email protected]>
fix undefined pointer comparison in wmemmove

82c41e92320c3f84bd6d24e21c5350a06e2fc831 authored over 6 years ago by Rich Felker <[email protected]>
fix undefined pointer comparison in memmove

the comparison must take place in the address space model as an
integer type, since comparing po...

debadaa238e90fce897b467a9efefcbbc0155d06 authored over 6 years ago by Rich Felker <[email protected]>
new tsearch implementation

Rewrote the AVL tree implementation:

- It is now non-recursive with fixed stack usage (large en...

c50985d5c8e316c5c464f352e79eeebfed1121a9 authored over 6 years ago by Szabolcs Nagy <[email protected]>
add arm and sh bits/ptrace.h

These should have been added in commit
df6d9450ea19fd71e52cf5cdb4c85beb73066394
that added targe...

5ef60206ff9e697d3011bcf48afca50c9fe85e1b authored over 6 years ago by Szabolcs Nagy <[email protected]>
fix getaddrinfo regression with AI_ADDRCONFIG on some configurations

despite not being documented to do so in the standard or Linux
documentation, attempts to udp co...

f381c118b2d4f7d914481d3cdc830ce41369b002 authored over 6 years ago by Rich Felker <[email protected]>
support clang internal assembler when building for arm as thumb2 code

the clang internal assembler does not accept assembler options passed
via the usual -Wa mechanis...

dffc20591873ede1ec4b30634fc91ba3daa372eb authored over 6 years ago by Rich Felker <[email protected]>
support setting of default thread stack size via PT_GNU_STACK header

this facilitates building software that assumes a large default stack
size without any patching ...

7b3348a98c139b4b4238384e52d4b0eb237e4833 authored over 6 years ago by Rich Felker <[email protected]>
increase default thread stack/guard size

stack size default is increased from 80k to 128k. this coincides with
Linux's hard-coded default...

c0058ab465e950c2c3302d2b62e21cc0b494224b authored over 6 years ago by Rich Felker <[email protected]>
limit the configurable default stack/guard size for threads

limit to 8MB/1MB, repectively. since the defaults cannot be reduced
once increased, excessively ...

792f32772e64a32527cd455ebfa087ef434a6f4f authored over 6 years ago by Rich Felker <[email protected]>
remove redundant declarations of __default_stacksize, __default_guardsize

these are now declared in pthread_impl.h.

c7ed3e909a69d34a7821f7db644c2fa590a1a690 authored over 6 years ago by Rich Felker <[email protected]>
fix benign data race in pthread_attr_init

access to defaults should be protected against concurrent changes.

11ce1b133d594b6a454d3e8d5941e7a6a432c42b authored over 6 years ago by Rich Felker <[email protected]>
fix deletion of pthread tsd keys that still have non-null values stored

per POSIX, deletion of a key for which some threads still have values
stored is permitted, and n...

84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 authored over 6 years ago by Rich Felker <[email protected]>
fix race condition in file locking

The condition occurs when
- thread #1 is holding the lock
- thread #2 is waiting for it on __fut...

0db393d3a77bb9f300a356c6a5484fc2dddb161d authored over 6 years ago by Kaarle Ritvanen <[email protected]>
getdelim: only grow buffer when necessary, improve OOM behavior

commit b114190b29417fff6f701eea3a3b3b6030338280 introduced spurious
realloc of the output buffer...

1f6cbdb434114139081fe65a9bafe775e9ab6c41 authored over 6 years ago by Rich Felker <[email protected]>
fix null pointer subtraction and comparison in stdio

morally, for null pointers a and b, a-b, a<b, and a>b should all be
defined as 0; however, C doe...

849e7603e9004fd292a93df64dd3524025f2987a authored over 6 years ago by Rich Felker <[email protected]>