Subject: CVS commit: src
To: None <>
From: ITOH Yasufumi <>
List: source-changes
Date: 02/02/1999 07:49:53
Module Name:	src
Committed By:	itohy
Date:		Tue Feb  2 15:49:52 UTC 1999

Modified Files:
	src/bin/sh: main.c
Log Message:
The builtin . (dot) command no longer sees the current working directory
even if the specified file is not in the PATH.
This change enforces security and makes it conform to POSIX.

Closes PR #6794.
I thought Christos committed this but not appeared yet. :)

The setstackmark()/popstackmark() pair in dotcmd(), used for freeing
stack storage possibly allocated by find_dot_file(), is redundant for now
since dotcmd() is surrounded by another pair in evalcommand().
This redundancy, however, may help future modifications
(suggested by Christos).