qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [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

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).