From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JD2xP-00042O-Cz for qemu-devel@nongnu.org; Thu, 10 Jan 2008 14:20:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JD2xN-00041t-JS for qemu-devel@nongnu.org; Thu, 10 Jan 2008 14:20:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD2xN-00041p-9U for qemu-devel@nongnu.org; Thu, 10 Jan 2008 14:20:49 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JD2xN-00037Y-DS for qemu-devel@nongnu.org; Thu, 10 Jan 2008 14:20:49 -0500 Received: from localhost (localhost [127.0.0.1]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id CC7EE19DBAD for ; Thu, 10 Jan 2008 20:20:53 +0100 (CET) Received: from ecfrec.frec.bull.fr ([127.0.0.1]) by localhost (ecfrec.frec.bull.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03844-08 for ; Thu, 10 Jan 2008 20:20:50 +0100 (CET) Received: from ecn002.frec.bull.fr (ecn002.frec.bull.fr [129.183.4.6]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 1F01719DB9C for ; Thu, 10 Jan 2008 20:20:50 +0100 (CET) Subject: Re: [Qemu-devel] Re: [PATCH] Fix double backslash problem in Windows From: Laurent Vivier In-Reply-To: References: <1199871092.4337.4.camel@frecb07144> <1199873069.4337.20.camel@frecb07144> <1199880481.4337.31.camel@frecb07144> <1199883098.4337.42.camel@frecb07144> <1199957735.4773.22.camel@frecb07144> <1199967143.4773.38.camel@frecb07144> <47861E01.6050709@qumranet.com> Date: Thu, 10 Jan 2008 20:21:15 +0100 Message-Id: <1199992875.4713.2.camel@frecb07144> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-u0VoKZkCCceid9n0p8Og" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-u0VoKZkCCceid9n0p8Og Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le jeudi 10 janvier 2008 =C3=A0 10:59 -0800, consul a =C3=A9crit : > "Avi Kivity" wrote in message=20 > news:47861E01.6050709@qumranet.com... > > Johannes Schindelin wrote: > >> Hi, > >> > >> On Thu, 10 Jan 2008, Laurent Vivier wrote: > >> > >> > >>> Perhaps the best solution is to put "file=3D" option at the end of=20 > >>> aliases, '\0' is marking the end of filename (it is likely the idea o= f=20 > >>> andrzej about special characters). > >>> > >> > >> Oh, why not just make it a requirement that file=3D comes last, always= ? > >> > >> > > > > That's hardly intuitive. I would prefer some sort of escaping for \, a= nd=20 > > \=3D. It will also break if/when -drive gains another filename argumen= t=20 > > (say, for keeping shapshot data in). > > > > --=20 > > error compiling committee.c: too many arguments to function > > > > > > > > >=20 > Why not use double quotes around parameter values containing special=20 > characters?=20 It is currently what it is implemented. If you use double quote, you must an escape character to be able to have double-quote inside, for instance: file=3D"my\"file". And backslash has some problems with windows... Laurent --=20 ----------------- Laurent.Vivier@bull.net ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry --=-u0VoKZkCCceid9n0p8Og Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHhnAr9Kffa9pFVzwRAiOMAKDHDpDV3vEBg66OCTR03RUc3TeOPQCcChBV n6vRffn/ZcvL4JtgqT/O5Zs= =kABP -----END PGP SIGNATURE----- --=-u0VoKZkCCceid9n0p8Og--