summaryrefslogtreecommitdiffstats
path: root/bin/sh/cd.h
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1998-09-06 21:01:57 +0000
committertegge <tegge@FreeBSD.org>1998-09-06 21:01:57 +0000
commit59e6a57bc195e6145db20a1292466fa6df067e24 (patch)
tree931490c491e36266d9b1957ad05ddaf559ac7993 /bin/sh/cd.h
parent705eaef8b847e2fe924e76b18cb4d5064650d3ce (diff)
downloadFreeBSD-src-59e6a57bc195e6145db20a1292466fa6df067e24.zip
FreeBSD-src-59e6a57bc195e6145db20a1292466fa6df067e24.tar.gz
Don't blindly eliminate `..' and the previous pathname component.
PR: 2541 Obtained from: NetBSD
Diffstat (limited to 'bin/sh/cd.h')
-rw-r--r--bin/sh/cd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/sh/cd.h b/bin/sh/cd.h
index feb6d81..673ccdc 100644
--- a/bin/sh/cd.h
+++ b/bin/sh/cd.h
@@ -30,7 +30,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: cd.h,v 1.3 1997/12/29 00:00:10 alex Exp $
*/
-char *getpwd __P((void));
+char *getpwd __P((void));
+int cdcmd __P((int, char **));
+int pwdcmd __P((int, char **));
OpenPOWER on IntegriCloud