cvs commit: src/bin/sh cd.c

Stefan Farfeleder stefanf at FreeBSD.org
Mon Jun 12 21:08:17 UTC 2006


stefanf     2006-06-12 21:06:00 UTC

  FreeBSD 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.
  
  PR:             88813
  Submitted by:   Josh Elsasser
  Patch from:     NetBSD (cd.c rev 1.38)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.35      +3 -2      src/bin/sh/cd.c


More information about the cvs-src mailing list