From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#24471: 25.1.50; Error on empty PATH component Date: Mon, 19 Sep 2016 21:06:38 +0200 Message-ID: <87ponzlnep.fsf@Rainer.invalid> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474312090 3182 195.159.176.226 (19 Sep 2016 19:08:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2016 19:08:10 +0000 (UTC) To: 24471@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 21:08:05 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 1bm3uz-0007If-52 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2016 21:07:53 +0200 Original-Received: from localhost ([::1]:57700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3ux-0000CM-BF for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2016 15:07:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3uE-0008CE-SX for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm3uA-0004ur-It for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3uA-0004um-Fo for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bm3uA-0001xr-Cj for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Achim Gratz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2016 19:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14743120157535 (code B ref -1); Mon, 19 Sep 2016 19:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2016 19:06:55 +0000 Original-Received: from localhost ([127.0.0.1]:35359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm3u3-0001xT-3z for submit@debbugs.gnu.org; Mon, 19 Sep 2016 15:06:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm3u1-0001xG-FE for submit@debbugs.gnu.org; Mon, 19 Sep 2016 15:06:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm3tv-0004pD-5P for submit@debbugs.gnu.org; Mon, 19 Sep 2016 15:06:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3tv-0004or-1y for submit@debbugs.gnu.org; Mon, 19 Sep 2016 15:06:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3ts-0007wM-Ou for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:06:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm3tp-0004k7-F3 for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:06:44 -0400 Original-Received: from mail-in-11.arcor-online.net ([151.189.21.51]:33826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3tp-0004iQ-4g for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2016 15:06:41 -0400 Original-Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 3sdFjp6tckz32H0 for ; Mon, 19 Sep 2016 21:06:38 +0200 (CEST) Original-Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id E5AFA1169B4 for ; Mon, 19 Sep 2016 21:06:38 +0200 (CEST) X-Greylist: Passed host: 79.241.200.119 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3sdFjp5k45zlr6 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nexgo.de; s=mail-in; t=1474311998; bh=LDq2xziwEwAi8e6Th1x6EsYl9f/HSLdusZFvLvVO8aM=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jgdfvs6ZsJ6+RvRRWp1qlKZyhRewUkrBH2cKXCip6daPfHBwQ3cHW1JRwOar7jvKp ua+pxA5OgQLkBKYRiai4FS9QWHN0BMB0T9A8BYrGV4nCSUE6SUoTqO+rHa0VW+p0kF jzocWAYOBXWS4X9hwezijNqmf7d+0RhL7h8NF8O8= Original-Received: from Gertrud (p4FF1C877.dip0.t-ipconnect.de [79.241.200.119]) (Authenticated sender: stromeko@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTPSA id 3sdFjp5k45zlr6 for ; Mon, 19 Sep 2016 21:06:38 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:123451 Archived-At: 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