Herbert Xu <herbert <at> gondor.apana.org.au> writes: > > In other words, if CDPATH is "/", then you should not append any > > additional <slash> characters, such that you end up checking for the > > existence of "/foo", not "//foo". > > Fair enough. However, I noticed that they haven't fixed up PATH > to do the same thing. Most likely an unintentional oversight. But to make sure, I've created a defect report: http://austingroupbugs.net/view.php?id=139 https://www.opengroup.org/sophocles/show_mail.tpl? CALLER=index.tpl&source=L&listname=austin-group-l&id=12720 [the former link may require free registration with the Austin group Mantis tracker; the latter is the public email summary generated from my edits] > Since we use the same function for PATH and CDPATH, I'm not going > to make any changes until POSIX becomes consistent in this respect. Fair enough; I'll keep you posted when the Austin group rules on my report. -- Eric Blake -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html