* [Qemu-devel] [PATCH] Win32: Fix default prefix
@ 2009-07-31 19:30 Stefan Weil
2009-08-01 21:35 ` [Qemu-devel] " Sebastian Herbszt
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Weil @ 2009-07-31 19:30 UTC (permalink / raw)
To: Anthony Liguori, QEMU Developers
The old code resulted in wrong escape sequences:
#define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"
gcc warnings:
vl.c:5708:20: warning: unknown escape sequence '\P'
vl.c:5708:20: warning: unknown escape sequence '\Q'
Windows can handle slash (/) path separators,
and QEMU already adds directories using slash,
so there is no need to fight with the correct number
of backslashes.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index a2e22ad..e556698 100755
--- a/configure
+++ b/configure
@@ -1409,7 +1409,7 @@ fi
if test "$mingw32" = "yes" ; then
if test -z "$prefix" ; then
- prefix="c:\\\\Program Files\\\\Qemu"
+ prefix="c:/Program Files/Qemu"
fi
mansuffix=""
datasuffix=""
--
1.5.6.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: [PATCH] Win32: Fix default prefix
2009-07-31 19:30 [Qemu-devel] [PATCH] Win32: Fix default prefix Stefan Weil
@ 2009-08-01 21:35 ` Sebastian Herbszt
2009-08-01 21:46 ` Filip Navara
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Herbszt @ 2009-08-01 21:35 UTC (permalink / raw)
To: Stefan Weil, Anthony Liguori, Juan Quintela; +Cc: qemu-devel
Stefan Weil wrote:
> The old code resulted in wrong escape sequences:
>
> #define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"
>
> gcc warnings:
>
> vl.c:5708:20: warning: unknown escape sequence '\P'
> vl.c:5708:20: warning: unknown escape sequence '\Q'
Looks like this got broken by "Generate config-host.h from config-host.mak" (create_config).
> Windows can handle slash (/) path separators,
> and QEMU already adds directories using slash,
> so there is no need to fight with the correct number
> of backslashes.
Do all versions handle them correctly?
- Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Re: [PATCH] Win32: Fix default prefix
2009-08-01 21:35 ` [Qemu-devel] " Sebastian Herbszt
@ 2009-08-01 21:46 ` Filip Navara
2009-08-02 6:20 ` [Qemu-devel] " Stefan Weil
0 siblings, 1 reply; 4+ messages in thread
From: Filip Navara @ 2009-08-01 21:46 UTC (permalink / raw)
To: Sebastian Herbszt; +Cc: Anthony Liguori, qemu-devel, Juan Quintela
On Sat, Aug 1, 2009 at 11:35 PM, Sebastian Herbszt<herbszt@gmx.de> wrote:
> Stefan Weil wrote:
>>
>> The old code resulted in wrong escape sequences:
>>
>> #define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"
>>
>> gcc warnings:
>>
>> vl.c:5708:20: warning: unknown escape sequence '\P'
>> vl.c:5708:20: warning: unknown escape sequence '\Q'
>
> Looks like this got broken by "Generate config-host.h from config-host.mak"
> (create_config).
>
>> Windows can handle slash (/) path separators,
>> and QEMU already adds directories using slash,
>> so there is no need to fight with the correct number
>> of backslashes.
>
> Do all versions handle them correctly?
At least all NT-based versions do and I believe Win 9x handles them
correctly too.
Best regards,
Filip Navara
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] Win32: Fix default prefix
2009-08-01 21:46 ` Filip Navara
@ 2009-08-02 6:20 ` Stefan Weil
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Weil @ 2009-08-02 6:20 UTC (permalink / raw)
To: Filip Navara
Cc: Anthony Liguori, Juan Quintela, qemu-devel, Sebastian Herbszt
Filip Navara schrieb:
> On Sat, Aug 1, 2009 at 11:35 PM, Sebastian Herbszt<herbszt@gmx.de> wrote:
>
>> Stefan Weil wrote:
>>
>>> The old code resulted in wrong escape sequences:
>>>
>>> #define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"
>>>
>>> gcc warnings:
>>>
>>> vl.c:5708:20: warning: unknown escape sequence '\P'
>>> vl.c:5708:20: warning: unknown escape sequence '\Q'
>>>
>> Looks like this got broken by "Generate config-host.h from config-host.mak"
>> (create_config).
>>
>>
>>> Windows can handle slash (/) path separators,
>>> and QEMU already adds directories using slash,
>>> so there is no need to fight with the correct number
>>> of backslashes.
>>>
>> Do all versions handle them correctly?
>>
>
> At least all NT-based versions do and I believe Win 9x handles them
> correctly too.
>
> Best regards,
> Filip Navara
>
>
Even IBM BIOS and all versions of MSDOS I know accept slash and backslash
in parameters for file system calls. So do all versions of Windows, too,
Regards
Stefan Weil
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-02 6:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 19:30 [Qemu-devel] [PATCH] Win32: Fix default prefix Stefan Weil
2009-08-01 21:35 ` [Qemu-devel] " Sebastian Herbszt
2009-08-01 21:46 ` Filip Navara
2009-08-02 6:20 ` [Qemu-devel] " Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).