[winegcc02] Need to allocate a bit more space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Changelog:
	Allocate more memory for arguments
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)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux