summaryrefslogtreecommitdiff
path: root/src/string/wcscmp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-06-08 19:50:23 -0400
committerRich Felker <dalias@aerifal.cx>2017-06-08 19:50:23 -0400
commit84eff797e3e38210cc311b000b1586b948b4fc35 (patch)
tree93d792eac55fb99cd0453617aaa340d177f90072 /src/string/wcscmp.c
parentbc313e880c6cde2e512d2f43e84968d1b12bd19d (diff)
downloadmusl-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/wcscmp.c')
0 files changed, 0 insertions, 0 deletions