Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCbTF-0007pW-GW for qemu-devel@nongnu.org; Wed, 09 Jan 2008 08:59:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCbTC-0007lc-V9 for qemu-devel@nongnu.org; Wed, 09 Jan 2008 08:59:52 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCbTC-0007lJ-9v for qemu-devel@nongnu.org; Wed, 09 Jan 2008 08:59:50 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JCbTB-000575-VN for qemu-devel@nongnu.org; Wed, 09 Jan 2008 08:59:50 -0500 Date: Wed, 9 Jan 2008 13:59:46 +0000 (GMT) From: Johannes Schindelin Subject: Re: [Qemu-devel] [PATCH] Fix double backslash problem in Windows In-Reply-To: <1199886392.4337.52.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> <1199886392.4337.52.camel@frecb07144> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811741-1819976635-1199887187=: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: =?ISO-8859-15?Q?Herv=E9_Poussineau?= , 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-1819976635-1199887187=:31053 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Hi, On Wed, 9 Jan 2008, Laurent Vivier wrote: > Le mercredi 09 janvier 2008 à 13:27 +0000, Johannes Schindelin a écrit : > > Hi, > > > > On Wed, 9 Jan 2008, Laurent Vivier wrote: > > > > > Le mercredi 09 janvier 2008 à 12:27 +0000, Johannes Schindelin a écrit : > > > > > > > On Wed, 9 Jan 2008, Laurent Vivier wrote: > > > > > > > > > but "-hda" is an alias for "-drive file="%s",index=%d,media=disk". > > > > > > > > It appears to me as if "-hda" is implemented suboptimally, then. > > > > In particular, drive_add() should be able to get a separate "file" > > > > parameter, which can be overridden by the "fmt" parameter. Of > > > > course, this would mean that the global drives_opt[] array should > > > > not have element type "char", but a struct. > > > > > > This introduces complexity and special cases I don't want to > > > manage... > > > > The problem is that you introduced a regression, as you can see by the > > size of this thread. > > The solution is very simple to restore original behavior: don't manage > filename with spaces. I disagree with the term "solution" in this context. I call a thing like this "regression". Hth, Dscho ---1463811741-1819976635-1199887187=:31053--