HomeFreeBSD

Don't strip a leading ./ from the path for the cd builtin to avoid interpreting
rS159551Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't strip a leading ./ from the path for the cd builtin to avoid interpreting
.//dir as /dir. Rather strip it only for the purpose of checking if the
directory path should be printed.

PR: 88813
Submitted by: Josh Elsasser
Patch from: NetBSD (cd.c rev 1.38)
MFC after: 2 weeks

Details

Provenance
stefanfAuthored on
Parents
rS159550: Add two little nuggets of wisdom I picked up at work today:
Branches
Unknown
Tags
Unknown

Event Timeline