unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
Cc: F.J.Wright@qmul.ac.uk, eliz@gnu.org, emacs-pretest-bug@gnu.org,
	emacs-devel@gnu.org
Subject: Re: Emacsclient/server filename quoting error
Date: Fri, 15 Dec 2006 16:14:38 +0100 (CET)	[thread overview]
Message-ID: <20061215.161438.180093727.wl@gnu.org> (raw)
In-Reply-To: <f7ccd24b0612150407m25d3d312va7e68f00e243c47f@mail.gmail.com>

> > Actually, a cleaner way of fixing this would be to have a
> > WINDOWSNT-only wrapper for execvp, called, say w32_execvp, that
> > does TRT with quoting the arguments.
>
> You like this one better, then?

Since those issues are full of subtleties I suggest that you have a
look at the gnulib CVS (at savannah.gnu.org), inspecting the files
`execute.c' and `pipe.c':

  http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/execute.c?rev=1.7&root=gnulib&view=log
  http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/pipe.c?rev=1.6&root=gnulib&view=log

Similar code is used in groff too.


    Werner

  parent reply	other threads:[~2006-12-15 15:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001701c71c53$1be9a9f0$041df159@Monolith>
2006-12-15 10:31 ` Emacsclient/server filename quoting error Juanma Barranquero
2006-12-15 11:06   ` Eli Zaretskii
2006-12-15 12:07     ` Juanma Barranquero
2006-12-15 14:19       ` Eli Zaretskii
2006-12-15 15:42         ` Juanma Barranquero
2006-12-15 15:50           ` David Kastrup
2006-12-15 16:03             ` Juanma Barranquero
2006-12-15 15:52           ` Eli Zaretskii
2006-12-15 15:14       ` Werner LEMBERG [this message]
2006-12-15 15:41         ` Juanma Barranquero
2006-12-15 15:54         ` Eli Zaretskii
2006-12-17 17:24       ` Francis Wright

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20061215.161438.180093727.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=F.J.Wright@qmul.ac.uk \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).