tests/vg_regtest: Always evaluate prerequisite expressions with sh
[valgrind.git] / auxprogs / gsl16-badfree.patch
blobd07d3a1ba9a153fdb0b5413eeb0986b5e7ad8497
1 Index: test_complex_source.c
2 ===================================================================
3 RCS file: /home/gsl-cvs/gsl/vector/test_complex_source.c,v
4 retrieving revision 1.23
5 diff -u -r1.23 test_complex_source.c
6 --- test_complex_source.c 24 Jun 2005 11:33:25 -0000 1.23
7 +++ test_complex_source.c 6 Jul 2005 11:18:33 -0000
8 @@ -75,7 +75,7 @@
9 if (stride == 1)
11 v0 = FUNCTION (gsl_vector, alloc) (N);
12 - view = FUNCTION (gsl_vector, subvector) (v, 0, N);
13 + view = FUNCTION (gsl_vector, subvector) (v0, 0, N);
14 v = &view.vector;
16 else
17 Index: test_source.c
18 ===================================================================
19 RCS file: /home/gsl-cvs/gsl/vector/test_source.c,v
20 retrieving revision 1.26
21 diff -u -r1.26 test_source.c
22 --- test_source.c 24 Jun 2005 11:33:26 -0000 1.26
23 +++ test_source.c 6 Jul 2005 11:14:18 -0000
24 @@ -75,7 +75,7 @@
25 if (stride == 1)
27 v0 = FUNCTION (gsl_vector, alloc) (N);
28 - view = FUNCTION (gsl_vector, subvector) (v, 0, N);
29 + view = FUNCTION (gsl_vector, subvector) (v0, 0, N);
30 v = &view.vector;
32 else