From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24471: 25.1.50; Error on empty PATH component Date: Mon, 19 Sep 2016 22:14:32 +0300 Message-ID: <83intrhfc7.fsf@gnu.org> References: <87ponzlnep.fsf@Rainer.invalid> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1474312598 26615 195.159.176.226 (19 Sep 2016 19:16:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2016 19:16:38 +0000 (UTC) Cc: 24471@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 21:16:33 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm435-0004RX-UB for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2016 21:16:16 +0200 Original-Received: from localhost ([::1]:57771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm434-0004VD-3w for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2016 15:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm41z-0003t8-5U for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm41u-00009z-1Z for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:15:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm41t-00009t-VH for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bm41t-0002AH-S8 for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2016 19:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24471-submit@debbugs.gnu.org id=B24471.14743124838279 (code B ref 24471); Mon, 19 Sep 2016 19:15:01 +0000 Original-Received: (at 24471) by debbugs.gnu.org; 19 Sep 2016 19:14:43 +0000 Original-Received: from localhost ([127.0.0.1]:35377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm41a-00029R-Jn for submit@debbugs.gnu.org; Mon, 19 Sep 2016 15:14:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm41Z-00029F-48 for 24471@debbugs.gnu.org; Mon, 19 Sep 2016 15:14:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm41P-0008Rw-0b for 24471@debbugs.gnu.org; Mon, 19 Sep 2016 15:14:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm41O-0008R0-T6; Mon, 19 Sep 2016 15:14:30 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1495 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bm41K-0007Su-Ct; Mon, 19 Sep 2016 15:14:29 -0400 In-reply-to: <87ponzlnep.fsf@Rainer.invalid> (message from Achim Gratz on Mon, 19 Sep 2016 21:06:38 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123452 Archived-At: > From: Achim Gratz > Date: Mon, 19 Sep 2016 21:06:38 +0200 > > 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. Please show the Lisp backtrace from the error, so that the path from PATH to directory-file-name could be seen. Thanks.