diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-06-08 19:50:23 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-06-08 19:50:23 -0400 |
commit | 84eff797e3e38210cc311b000b1586b948b4fc35 (patch) | |
tree | 93d792eac55fb99cd0453617aaa340d177f90072 /src/string/memccpy.c | |
parent | bc313e880c6cde2e512d2f43e84968d1b12bd19d (diff) | |
download | musl-84eff797e3e38210cc311b000b1586b948b4fc35.tar.gz musl-84eff797e3e38210cc311b000b1586b948b4fc35.tar.bz2 musl-84eff797e3e38210cc311b000b1586b948b4fc35.tar.xz musl-84eff797e3e38210cc311b000b1586b948b4fc35.zip |
fix glob failure to match plain "/" to root directory
the check to prevent matching empty string wrongly blocked matching
of "/" due to checking emptiness after stripping leading slashes
rather than checking the full original argument string.
simplified from patch by Julien Ramseier.
Diffstat (limited to 'src/string/memccpy.c')
0 files changed, 0 insertions, 0 deletions