Alexandre Julliard : libwine: Put the server directory inside the wineprefix on Android.

Alexandre Julliard julliard at winehq.org
Mon Sep 16 16:57:22 CDT 2013


Module: wine
Branch: master
Commit: 2b2bf64d3bbcccb5f04a1c1c7c6cba7af1237b8d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2b2bf64d3bbcccb5f04a1c1c7c6cba7af1237b8d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Sep 16 12:44:15 2013 +0200

libwine: Put the server directory inside the wineprefix on Android.

---

 libs/wine/config.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libs/wine/config.c b/libs/wine/config.c
index d8c46be..3b5dd68 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -222,7 +222,9 @@ static void init_server_dir( dev_t dev, ino_t ino )
 {
     char *p, *root;
 
-#ifdef HAVE_GETUID
+#ifdef __ANDROID__  /* there's no /tmp dir on Android */
+    root = build_path( config_dir, ".wineserver" );
+#elif defined(HAVE_GETUID)
     root = xmalloc( sizeof(server_root_prefix) + 12 );
     sprintf( root, "%s-%u", server_root_prefix, getuid() );
 #else




More information about the wine-cvs mailing list