6f0b523996
meant to be used on archs that have gcc4 in base, this doesn't require a full gcc build from ports, and provides libgfortran as a subpackage. idea from espie some months ago.
12 lines
511 B
Plaintext
12 lines
511 B
Plaintext
$OpenBSD: patch-libiberty_testsuite_test-expandargv_c,v 1.1.1.1 2010/10/10 17:39:07 steven Exp $
|
|
--- libiberty/testsuite/test-expandargv.c.orig Sat Mar 7 17:08:28 2009
|
|
+++ libiberty/testsuite/test-expandargv.c Sat Mar 7 17:09:01 2009
|
|
@@ -173,6 +173,7 @@ writeout_test (int test, const char * test_data)
|
|
fatal_error (__LINE__, "Failed to malloc parse.", errno);
|
|
|
|
memcpy (parse, test_data, sizeof (char) * len);
|
|
+ parse[len] = '\0';
|
|
/* Run all possible replaces */
|
|
run_replaces (parse);
|
|
|