about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-07 12:39:02 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-07 12:39:02 +0100
commitd74bee35960219465b4809a84590ca3108ba3665 (patch)
treef023979bd2b260c3d4add25eb26cbf2a6773ca76 /src
parentaea10492232746e5181a8ee7bc09127cda3ef32b (diff)
downloadbox64-d74bee35960219465b4809a84590ca3108ba3665.tar.gz
box64-d74bee35960219465b4809a84590ca3108ba3665.zip
Disabling WINEFSYNC for now, that seems to be not working fine
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 31075af4..9c53dfea 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1630,6 +1630,10 @@ int main(int argc, const char **argv, char **env) {
     if(!strcmp(prog, "wineserver") || !strcmp(prog, "wineserver64") || (strlen(prog)>9 && !strcmp(prog+strlen(prog)-strlen("/wineserver"), "/wineserver"))) {
         box64_wine = 1;
     }
+    if(box64_wine) {
+        // disabling the use of futex_waitv for now
+        setenv("WINEFSYNC", "0", 1);
+    }
     // Create a new context
     my_context = NewBox64Context(argc - nextarg);