GNU bug report logs - #5134
$PATH with double slashes parsing bug

Previous Next

Package: emacs;

Reported by: Sebastien Mondet <sebastien.mondet <at> gmail.com>

Date: Sun, 6 Dec 2009 12:55:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sebastien Mondet <sebastien.mondet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#5134: $PATH with double slashes parsing bug
Date: Sun, 6 Dec 2009 13:53:21 +0100
[Message part 1 (text/plain, inline)]
Hi,

I discovered this strange behavior of eshell in emacs 23.1.1 (on MacOSX and
Debian Lenny, both built from source, launched with '-q').

It seems that the presence of two slashes ("//") in a path breaks the
search:

Example:

~ $ export PATH=/usr//bin
~ $ which m4
which: no m4 in (/usr//bin)
~ $ export PATH=/usr/bin
~ $ which m4
/usr/bin/m4
~ $


I mailed this to johnw <at> gnu.org (maintainer of eshell) who told me that it
seems to be an Emacs issue.

Cheers,

Sebastien Mondet
http://seb.mondet.org
[Message part 2 (text/html, inline)]

This bug report was last modified 15 years and 170 days ago.

Previous Next


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