python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / bc / 01_array_initialize.patch
blob9520d824afbf7a956b806a640a49a340738cec91
1 Description: Fix array initialization bug
2 Author: Phil Nelson
3 Origin: upstream
4 Bug-Debian: http://bugs.debian.org/586969
5 Bug-Debian: http://bugs.debian.org/671513
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 Index: bc/bc/storage.c
9 ===================================================================
10 --- bc.orig/bc/storage.c 2013-06-02 20:34:09.401273864 -0400
11 +++ bc/bc/storage.c 2013-06-02 20:34:11.000000000 -0400
12 @@ -179,7 +179,7 @@
15 /* Initialize the new elements. */
16 - for (; indx < v_count; indx++)
17 + for (; indx < a_count; indx++)
18 arrays[indx] = NULL;
20 /* Free the old elements. */