fix dirname to handle input of form "foo/" correctly
[musl] / crt / Scrt1.c