qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] Fix double backslash problem in Windows


From: Laurent Vivier
Subject: Re: [Qemu-devel] Re: [PATCH] Fix double backslash problem in Windows
Date: Thu, 10 Jan 2008 20:21:15 +0100

Le jeudi 10 janvier 2008 à 10:59 -0800, consul a écrit :
> "Avi Kivity" <address@hidden> wrote in message 
> news:address@hidden
> > Johannes Schindelin wrote:
> >> Hi,
> >>
> >> On Thu, 10 Jan 2008, Laurent Vivier wrote:
> >>
> >>
> >>> Perhaps the best solution is to put "file=" option at the end of 
> >>> aliases, '\0' is marking the end of filename (it is likely the idea of 
> >>> andrzej about special characters).
> >>>
> >>
> >> Oh, why not just make it a requirement that file= comes last, always?
> >>
> >>
> >
> > That's hardly intuitive.  I would prefer some sort of escaping for \, and 
> > \=.  It will also break if/when -drive gains another filename argument 
> > (say, for keeping shapshot data in).
> >
> > -- 
> > error compiling committee.c: too many arguments to function
> >
> >
> >
> >
> 
> Why not use double quotes around parameter values containing special 
> characters? 

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="my\"file". And backslash has some problems with
windows...

Laurent
-- 
----------------- address@hidden  ------------------
  "La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]