[winegcc02] Need to allocate a bit more space

Richard Cohen richard.cohen at virgin.net
Wed Aug 13 20:51:52 CDT 2003


Number of args has increased a bit.
Note: this patch is superseded by [winegcc05]

Changelog:
	Allocate more memory for arguments
-------------- next part --------------
diff -u -r tools.1/winegcc.c tools/winegcc.c
--- tools.1/winegcc.c	2003-08-13 15:02:10.000000000 +0100
+++ tools/winegcc.c	2003-08-13 15:16:24.000000000 +0100
@@ -212,7 +212,7 @@
 
     if (use_static_linking) error("Static linking is not supported.");
 
-    gcc_argv = malloc(sizeof(char*) * (argc + 20));
+    gcc_argv = malloc(sizeof(char*) * (argc + 50));
 
     i = 0;
     if (linking)


More information about the wine-patches mailing list