cvs commit: src/bin/sh cd.c

Peter Avalos pavalos at
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 
  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

More information about the Commits mailing list