all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Cornelius Mika <cornelius.mika@gmail.com>
Cc: 21831-done@debbugs.gnu.org
Subject: bug#21831: 24.5 on Windows; start-process modifies its PROGRAM argument
Date: Wed, 04 Nov 2015 23:01:48 +0200	[thread overview]
Message-ID: <838u6dtr5v.fsf@gnu.org> (raw)
In-Reply-To: <CAFQA6kxKF9qoCARH5uAemdxxR_v31z7=E2QOQyuVSeQP31X_Rg@mail.gmail.com>

> From: Cornelius Mika <cornelius.mika@gmail.com>
> 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.





  reply	other threads:[~2015-11-04 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 20:31 bug#21831: 24.5 on Windows; start-process modifies its PROGRAM argument Cornelius Mika
2015-11-04 21:01 ` Eli Zaretskii [this message]
2015-11-05  8:42   ` Nicolas Richard
2015-11-05 18:14     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838u6dtr5v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21831-done@debbugs.gnu.org \
    --cc=cornelius.mika@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.