summaryrefslogtreecommitdiff
path: root/src/unistd/rmdir.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-06-16 00:53:57 -0400
committerRich Felker <dalias@aerifal.cx>2020-06-16 00:58:22 -0400
commitfca7428c096066482d8c3f52450810288e27515c (patch)
tree985334c5d64519bbaa87a7502654718cd5bb577e /src/unistd/rmdir.c
parentcb5babdc8d624a3e3e7bea0b4e28a677a2f2fc46 (diff)
downloadmusl-fca7428c096066482d8c3f52450810288e27515c.tar.gz
musl-fca7428c096066482d8c3f52450810288e27515c.tar.bz2
musl-fca7428c096066482d8c3f52450810288e27515c.tar.xz
musl-fca7428c096066482d8c3f52450810288e27515c.zip
only use memcpy realloc to shrink if an exact-sized free chunk exists
otherwise, shrink in-place. as explained in the description of commit 3e16313f8fe2ed143ae0267fd79d63014c24779f, the split here is valid without holding split_merge_lock because all chunks involved are in the in-use state.
Diffstat (limited to 'src/unistd/rmdir.c')
0 files changed, 0 insertions, 0 deletions