1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1982-2011 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* David Korn <dgk@research.att.com> * 1N/A***********************************************************************/ 1N/A * cd [-LP] [dirname] 1N/A * cd [-LP] [old] [new] 1N/A * Invalidate path name bindings to relative paths 1N/A /* test for pathname . ./ .. or ../ */ 1N/A /* don't add '/' of oldpwd is / itself */ 1N/A /* eliminate trailing '/' */ 1N/A#
endif /* SHOPT_FS_3D */ 1N/A /* use absolute chdir() if relative chdir() fails */ 1N/A dp =
dir;
/* print out directory for cd - */ 1N/A /* delete trailing '/' */ 1N/A#
endif /* SHOPT_FS_3D */