DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/bin/sh cd.c


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Jan 2007 14:18:52 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]