GNU bug report logs - #24471
25.1.50; Error on empty PATH component

Previous Next

Package: emacs;

Reported by: Achim Gratz <Stromeko <at> nexgo.de>

Date: Mon, 19 Sep 2016 19:07:02 UTC

Severity: normal

Tags: patch

Found in versions 25.1, 25.1.50

Fixed in version 25.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24471: closed (25.1.50; Error on empty PATH component)
Date: Mon, 17 Oct 2016 01:57:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 16 Oct 2016 21:56:49 -0400
with message-id <gfinsrviu6.fsf <at> fencepost.gnu.org>
and subject line Re: bug#24471: 25.1.50; Error on empty PATH component
has caused the debbugs.gnu.org bug report #24471,
regarding 25.1.50; Error on empty PATH component
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24471: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24471
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Achim Gratz <Stromeko <at> nexgo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; Error on empty PATH component
Date: Mon, 19 Sep 2016 21:06:38 +0200
In GNU Emacs 25.1 (x86_64 for Windows)

I've updated from Emacs 24.5 to Emacs 25.1 this morning at work.
Starting the new Emacs produced an error during initialization trying to
process (directory-file-name nil).  The reason it turned out was that
our IT department in their infinite wisdom had ended the system PATH
with a ';'.  Emacs extended that path with ';/usr/bin/' (or something
like that, I'm making this report from home), this created an empty path
element that ended up at directory-file-name.  Emacs should sanitize the
PATH if it can't process nil in downstream functions.



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 24471-done <at> debbugs.gnu.org
Subject: Re: bug#24471: 25.1.50; Error on empty PATH component
Date: Sun, 16 Oct 2016 21:56:49 -0400
Version: 25.2

Glenn Morris wrote:

> Please just replace nil elements with ".".
>
> The point of that code in cus-start is so that exec-path does not show
> up in customize-rogue output under normal circumstances. A test case is
>
> PATH=:$PATH emacs -Q -f customize-rogue

Done.


This bug report was last modified 8 years and 219 days ago.

Previous Next


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