[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vmdk: Allow space in file name
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] vmdk: Allow space in file name |
Date: |
Thu, 31 Jan 2013 14:03:03 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 29, 2013 at 10:50:31PM +0100, Philipp Hahn wrote:
> The previous scanf() format string stopped parsing the file name on the
> first white white space, which seems to be allowed at least by VMware
> Wokrstation.
>
> Change the format string to collect everything between the first and
> second quote as the file name, disallowing line breaks.
>
> Signed-off-by: Philipp Hahn <address@hidden>
> ---
> block/vmdk.c | 10 +---------
> 1 files changed, 1 insertions(+), 9 deletions(-)
>
> [V2] Also remove " striping code.
> Add \n\r to stop character set.
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan