X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <46127E23 DOT 8030007 AT mff DOT cuni DOT cz> Subject: RE: bash improperly sets PATH containing period Date: Tue, 3 Apr 2007 17:22:41 +0100 Message-ID: <017d01c7760c$4d7a1500$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <46127E23.8030007@mff.cuni.cz> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 03 April 2007 17:18, Pavel Kudrna wrote: > (Such dos path containing period is legal and is used in Novell Client > as search drives.) However it is impossible to reproduce precisely in cygwin, as there is no concept of a current directory per-drive, only one for the entire system. > Pavel Kudrna > > C:\temp> path c:\temp;c:.;s:\public > > C:\temp> path > PATH=c:\temp;c:.;s:\public > > C:\temp> "C:\Program Files\cygwin\bin\bash.exe" --login -i > > kudrna AT k15 ~ > $ echo $PATH > /usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/temp:c:.:/cygdrive/s/p ublic:/usr/local/cint But I agree this is wrong, the path-conversion code should either just use a plain '.' as a path component or discard the entire item altogether, it certainly shouldn't end up treating 'c' as one path component and '.' as a separate one. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/