|
From: | Hervé Poussineau |
Subject: | [Qemu-devel] [PATCH] Fix qemu-img argument handling |
Date: | Sat, 07 Feb 2009 17:29:11 +0100 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Hi,qemu-img doesn't work on MS Windows, when compiled with MinGW Runtime package >= 3.15 According to http://sourceforge.net/tracker/index.php?func=detail&aid=2222263&group_id=2435&atid=102435 , qemu-img shouldn't skip the first argument (command name) by doing optind++.
Attached patch fixes the problems, and repairs qemu-img parsing with MinGW Runtime package >= 3.15
Signed-off-by: Hervé Poussineau <address@hidden> Hervé
qemu-img-optind.diff
Description: plain/text
[Prev in Thread] | Current Thread | [Next in Thread] |