builtin loading

Eric Pouech pouech-eric at wanadoo.fr
Sun Sep 14 13:27:49 CDT 2003


as discussed on wine-devel, this patch lets us loading modules with more 
than 20 chars in their names
A+
-- 
Eric Pouech
-------------- next part --------------
Name:          bom
ChangeLog:     BUILTIN32_LoadLibraryExA: set larger size for internal buffer names
License:       X11
GenDate:       2003/09/14 18:26:50 UTC
ModifiedFiles: relay32/builtin32.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/relay32/builtin32.c,v
retrieving revision 1.96
diff -u -u -r1.96 builtin32.c
--- relay32/builtin32.c	5 Sep 2003 23:15:41 -0000	1.96
+++ relay32/builtin32.c	14 Sep 2003 18:25:30 -0000
@@ -123,7 +123,7 @@
  */
 NTSTATUS BUILTIN32_LoadLibraryExA(LPCSTR path, DWORD flags, WINE_MODREF** pwm)
 {
-    char error[256], dllname[20], *p;
+    char error[256], dllname[MAX_PATH], *p;
     int file_exists;
     LPCSTR name;
     void *handle;


More information about the wine-patches mailing list