[coreboot] [commit] r5290 - trunk/util/romcc

repository service svn at coreboot.org
Thu Mar 25 16:49:41 CET 2010


Author: oxygene
Date: Thu Mar 25 16:49:40 2010
New Revision: 5290
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5290

Log:
Copy argument of -include as it's modified later.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

Modified:
   trunk/util/romcc/romcc.c

Modified: trunk/util/romcc/romcc.c
==============================================================================
--- trunk/util/romcc/romcc.c	Thu Mar 25 16:25:15 2010	(r5289)
+++ trunk/util/romcc/romcc.c	Thu Mar 25 16:49:40 2010	(r5290)
@@ -25154,7 +25154,7 @@
 				}
 				argv++;
 				argc--;
-				include_filelist->filename = argv[1];
+				include_filelist->filename = strdup(argv[1]);
 				include_filelist->next = old_head;
 				result = 0;
 			}




More information about the coreboot mailing list