Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCvyP-0003wV-C7 for qemu-devel@nongnu.org; Thu, 10 Jan 2008 06:53:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCvyN-0003wG-OZ for qemu-devel@nongnu.org; Thu, 10 Jan 2008 06:53:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCvyN-0003wD-Et for qemu-devel@nongnu.org; Thu, 10 Jan 2008 06:53:23 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JCvyM-0005vk-Vr for qemu-devel@nongnu.org; Thu, 10 Jan 2008 06:53:23 -0500 Date: Thu, 10 Jan 2008 11:53:18 +0000 (GMT) From: Johannes Schindelin Subject: Re: [Qemu-devel] [PATCH] Fix double backslash problem in Windows In-Reply-To: <1199957735.4773.22.camel@frecb07144> Message-ID: 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> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811741-1630030364-1199965999=:31053" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: qemu-devel@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811741-1630030364-1199965999=:31053 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Hi, On Thu, 10 Jan 2008, Laurent Vivier wrote: > Le mercredi 09 janvier 2008 à 13:27 +0000, Johannes Schindelin a écrit : > [...] > > Besides, it would not be _that_ complicated: > > This patch doesn't manage the case where we have comma in filename: > > qemu -drive file=my,file,if=scsi > > where filename is "my,file". Right. But then, my patch only tried to undo the regression. As for the "my,file" problem: you _could_ change the parser so that it picks up on "-drive if=scsi,file=my,file" having no "=" after the last comma, but that does not help the case where a file name contains both a comma and an equal sign. Of course, the easiest way to tackle this problem is to say "you cannot use comma and equal signs in your image file names". Although it would be hard on the users to disallow spaces, since a relatively wide-spread OS decides to put your personal data into a path containing spaces _by default_. Ciao, Dscho ---1463811741-1630030364-1199965999=:31053--