On Thu, Dec 27, 2012 at 3:54 PM, Victor Efimov via RT < perlbug-followup@perl.org> wrote: > .. or even better if (dirlen && *(tmp-1) != '/') { ... } > > Right now '/' is added whether or not dirlen is > 0, so (if !dirlen || *(tmp-1) != '/') would continue to behave the same. if (dirlen && ...) would change that behavior. -- Matthew Horsfall (alh)Thread Previous | Thread Next