From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21831: 24.5 on Windows; start-process modifies its PROGRAM argument Date: Wed, 04 Nov 2015 23:01:48 +0200 Message-ID: <838u6dtr5v.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446671004 11591 80.91.229.3 (4 Nov 2015 21:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 21:03:24 +0000 (UTC) Cc: 21831-done@debbugs.gnu.org To: Cornelius Mika Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 04 22:03:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zu5D4-0007oJ-5V for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 22:03:10 +0100 Original-Received: from localhost ([::1]:57127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5D3-0000ve-El for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 16:03:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5D0-0000uE-8X for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2015 16:03:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu5Cx-0000om-2w for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2015 16:03:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5Cw-0000oU-VG for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2015 16:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zu5Cw-0006pv-O7 for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2015 16:03:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Nov 2015 21:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21831 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 21831@debbugs.gnu.org, eliz@gnu.org, cornelius.mika@gmail.com Original-Received: via spool by 21831-done@debbugs.gnu.org id=D21831.144667093626205 (code D ref 21831); Wed, 04 Nov 2015 21:03:02 +0000 Original-Received: (at 21831-done) by debbugs.gnu.org; 4 Nov 2015 21:02:16 +0000 Original-Received: from localhost ([127.0.0.1]:53737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zu5CC-0006oa-GF for submit@debbugs.gnu.org; Wed, 04 Nov 2015 16:02:16 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:38235) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zu5Br-0006ng-NL for 21831-done@debbugs.gnu.org; Wed, 04 Nov 2015 16:02:14 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NXB00G0065DXQ00@mtaout29.012.net.il> for 21831-done@debbugs.gnu.org; Wed, 04 Nov 2015 23:01:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXB00BER6E2SC60@mtaout29.012.net.il>; Wed, 04 Nov 2015 23:01:14 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108459 Archived-At: > From: Cornelius Mika > Date: Wed, 4 Nov 2015 21:31:55 +0100 > > start-process normalizes the given PROGRAM path by destructively modifying its > contents. > This is problematic if the path variable is reused later on. > > Minimal repro: > (let ((path "c:/Windows/System32/clip.exe")) > (start-process "" nil path) > path) ; => "c:\\Windows\\System32\\clip.exe" > > In GNU Emacs 24.5.1 (i686-pc-mingw32) > of 2015-04-11 on LEG570 > Windowing system distributor `Microsoft Corp.', version 6.3.9600 > Configured using: > `configure --prefix=/c/usr --host=i686-pc-mingw32' Thanks. I can reproduce this in Emacs 24.5, but not in the current development sources. So this problem was already fixed as part of the development since then, and I see the code which was added to avoid this. So I'm marking this bug done.