746defb0ff
tests to bail out early. no pkg bump since no change in package.
12 lines
505 B
Plaintext
12 lines
505 B
Plaintext
$OpenBSD: patch-libiberty_testsuite_test-expandargv_c,v 1.1 2009/03/08 02:30:23 kurt 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);
|
|
|