cvs commit: src/bin/sh cd.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Fri Jan 5 14:20:50 PST 2007
pavalos 2007/01/05 14:18:52 PST
DragonFly src repository
Modified files:
bin/sh cd.c
Log:
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.
Obtained-from: FreeBSD
Revision Changes Path
1.5 +4 -3 src/bin/sh/cd.c
http://www.dragonflybsd.org/cvsweb/src/bin/sh/cd.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list