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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5134 in the body.
You can then email your comments to 5134 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5134; Package emacs. (Sun, 06 Dec 2009 12:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastien Mondet <sebastien.mondet <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 06 Dec 2009 12:55:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sebastien Mondet <sebastien.mondet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: $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)]

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sun, 06 Dec 2009 19:15:18 GMT) Full text and rfc822 format available.

Notification sent to Sebastien Mondet <sebastien.mondet <at> gmail.com>:
bug acknowledged by developer. (Sun, 06 Dec 2009 19:15:18 GMT) Full text and rfc822 format available.

Message #10 received at 5134-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Sebastien Mondet <sebastien.mondet <at> gmail.com>
Cc: 5134-done <at> debbugs.gnu.org
Subject: Re: $PATH with double slashes parsing bug
Date: Sun, 06 Dec 2009 14:06:28 -0500
> 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 can reproduce it in the Emacs 23.1 release.  The bug already seems to
be fixed in the repository (to be 23.2).  Thanks for the bug report,
though.



bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Jan 2010 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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