about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-04-20 11:51:58 -0400
committerRich Felker <dalias@aerifal.cx>2013-04-20 11:51:58 -0400
commit8c203eae1e90f646a3c7c40d9700d55de2163df1 (patch)
tree0f3f31b41b3b946e32a80a710b0b0d5303964d79 /lib
parent7bec92e793d4b8a349796848cf43c7329b0f2ed0 (diff)
downloadmusl-8c203eae1e90f646a3c7c40d9700d55de2163df1.tar.gz
musl-8c203eae1e90f646a3c7c40d9700d55de2163df1.tar.xz
musl-8c203eae1e90f646a3c7c40d9700d55de2163df1.zip
make dynamic linker accept : or \n as path separator
this allows /etc/ld-musl-$(ARCH).path to contain one path per line,
which is much more convenient for users than the :-delimited format,
which was a source of repeated and unnecessary confusion. for
simplicity, \n is also accepted in environment variables, though it
should probably not be used there.

at the same time, issues with overly long paths invoking UB or getting
truncated have been fixed. such issues should not have arisen with the
environment (which is size-limited) but could have been generated by a
path file larger than 2**31 bytes in length.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions