GNU bug report logs - #36004
[PATCH] Eshell does not extend correctly PATH by "." on MS-Windows

Previous Next

Package: emacs;

Reported by: Bernhard Rotter <bernhard.rotter <at> gmail.com>

Date: Thu, 30 May 2019 14:37:03 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 36004 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bernhard Rotter <bernhard.rotter <at> gmail.com>
Cc: 36004 <at> debbugs.gnu.org
Subject: Re: bug#36004: [PATCH] Eshell does not extend correctly PATH by "." on
 MS-Windows
Date: Sat, 08 Jun 2019 11:33:55 +0300
> From: Bernhard Rotter <bernhard.rotter <at> gmail.com>
> Date: Thu, 30 May 2019 13:40:02 +0200
> 
> Eshell uses eshell-parse-colon-path to split $PATH. The paths returned have a
> slash appended, so an absolute path can be contructed simply by concatenating
> path and filename. On windows the result list of eshell-parse-colon-path is
> extended further by "." (without a slash).
> 
> This was no problem for me until I wanted to run git in a directory created by
> "git worktree add". When eshell was looking for git it found the file ".git"
> whereas it should have been looking for "./git". The result was an error
> message.

Thanks, pushed to the master branch.




This bug report was last modified 5 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.