[PRELINK] Fixed preloader_exec

Christian Costa titan.costa at wanadoo.fr
Sat May 29 10:11:54 CDT 2004


Hi,

I don't know much about prelink stuff but since the patch has been commited,
the wineserver process is not spawned anymore on my box.
After looking at the code it seems that the problem comes from 
preloader_exec.

Changelog:
Fixed preloader_exec.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: libs/wine/config.c
===================================================================
RCS file: /home/wine/wine/libs/wine/config.c,v
retrieving revision 1.7
diff -u -r1.7 config.c
--- libs/wine/config.c	28 May 2004 20:59:22 -0000	1.7
+++ libs/wine/config.c	29 May 2004 12:58:02 -0000
@@ -291,10 +291,9 @@
         free( full_name );
         return;
     }
-#else
+#endif
     if (envp) execve( argv[0], argv, envp );
     else execv( argv[0], argv );
-#endif
 }
 
 /* exec a wine internal binary (either the wine loader or the wine server) */


More information about the wine-patches mailing list