summaryrefslogtreecommitdiffstats
path: root/bin/sh/cd.c
Commit message (Expand)AuthorAgeFilesLines
* Sync sh(1) in stable/10 to head.jmmv2014-03-091-4/+8
* sh: Prefer internal nextopt() to libc getopt().jilles2012-09-151-19/+7
* sh: Properly show "Not a directory" error in cd builtin.jilles2012-01-131-1/+6
* sh: Fix duplicate prototypes for builtins.jilles2011-06-131-0/+1
* sh: Correct criterion for using CDPATH in cd.jilles2011-05-271-1/+4
* sh: Show errno messages in cd.jilles2011-05-251-1/+4
* sh: Implement the cd -e flag proposed for the next POSIX issue.jilles2011-05-201-8/+17
* sh: Add a function to print warnings (with command name and newline).jilles2010-12-211-1/+1
* sh: Code size optimizations to "stack string" memory allocation:jilles2010-11-231-8/+4
* sh: Fix confusing behaviour if chdir succeeded but getcwd failed in cd -P.jilles2010-11-221-2/+5
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroobrien2010-10-131-16/+16
* Consistently use "STATIC" for all functions in order to be able to setobrien2010-10-131-3/+3
* sh: On startup of the shell, use PWD from the environment if it is valid.jilles2010-04-171-5/+22
* sh: Various warning fixes (from WARNS=6 NO_WERROR=1):jilles2009-12-271-1/+1
* sh: Constify various strings.jilles2009-12-241-1/+1
* Handle current work directories of arbitrary length. The argument to cdstefanf2009-11-211-22/+29
* Split updatepwd() into two smaller functions. The first one, findpwd(),stefanf2008-02-241-38/+45
* Don't strip a leading ./ from the path for the cd builtin to avoid interpretingstefanf2006-06-121-2/+3
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
* Changes following CScout analysis:dds2003-07-051-2/+2
* Add a -P/-o physical option which behaves similarly to bash/ksh's optionstjr2002-07-251-2/+2
* Set opterr to zero to avoid duplicate warnings from getopt(3) for unknowntjr2002-07-251-2/+2
* Use PATH_MAX instead of a local guess at it, which happened to be incorrect.tjr2002-07-251-4/+3
* pwdcmd()'s argc and argv arguments are no longer unused, remove __unused.tjr2002-07-251-1/+1
* Remove broken and incomplete support for old releases of System V,tjr2002-07-191-55/+0
* Consistently use FBSDIDobrien2002-06-301-2/+2
* Bring back the cd -L and -P options from revision 1.24, but try harder nottjr2002-05-221-33/+105
* Temporarily back out revision 1.24; it seems to handle the case where thetjr2002-05-221-78/+22
* Add the SUSv3 -L and -P options to the cd and pwd builtin utilities. `Logical'tjr2002-05-201-22/+78
* Remove a small, annoying, nit I ran in to editing this file, a lone tabjmallett2002-05-191-1/+1
* o __P has been reovedimp2002-02-021-16/+9
* Don't call setvar() with the VTEXTFIXED flag. A copy is created bytegge2001-11-071-4/+4
* Include strerror(errno) in error messages after failed system calls.cracauer1999-11-291-1/+1
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
* Don't blindly eliminate `..' and the previous pathname component.tegge1998-09-061-17/+156
* Add rcsid. Spelling.charnier1998-05-181-3/+5
* Use the __unused attribute where warranted.steve1997-05-191-5/+5
* Nuke register keyword usage and #if -> #ifdef.steve1997-04-281-2/+2
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
* Make sh(1) think and be in the same place at the same time. This closessteve1997-01-041-15/+11
* Oops, it needs little more caulk to get it right.steve1996-12-231-2/+2
* Apply a little dab of bit caulk to keep those beggarssteve1996-12-231-6/+2
* Don't use _POSIX_PATH_MAX to limit the size of the path, insteadsteve1996-12-231-3/+3
* Make sh(1) a little braver in the face of adversity. sh(1)steve1996-12-211-163/+16
* Merge in NetBSD mods and -Wall cleaning.steve1996-12-141-16/+20
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-27/+31
* A fix for the "cd -" coredump on a brand new /bin/sh. The problem waspeter1995-11-141-2/+5
* Obtained from: partly from 1.1.5bde1994-12-261-2/+4
* Get this braindead, mongoloid shell look in /stand for pwd if it can'tjkh1994-11-061-3/+8
OpenPOWER on IntegriCloud