summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-15 00:13:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-15 00:13:38 +0000
commit7113b9687cd08238bc24a1b282814e6f393794d1 (patch)
treea5d9d5d4f0c528b5a1c96076db18f601267da428 /package/busybox
parentd0e2ff24dc32642228f7cdd5e38c250330c68ea0 (diff)
awx: variable initialization fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7243 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/920-awx.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/busybox/patches/920-awx.patch b/package/busybox/patches/920-awx.patch
index 251db68126..355c0559f7 100644
--- a/package/busybox/patches/920-awx.patch
+++ b/package/busybox/patches/920-awx.patch
@@ -98,7 +98,7 @@ diff -purN bb.old/editors/awk.c bb.dev/editors/awk.c
diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
--- bb.old/editors/awx.c 1970-01-01 01:00:00.000000000 +0100
+++ bb.dev/editors/awx.c 2007-03-14 02:03:50.566202928 +0100
-@@ -0,0 +1,589 @@
+@@ -0,0 +1,590 @@
+/*
+ * awk web extension
+ *
@@ -323,6 +323,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
+ func *f;
+ var *v, tv;
+
++ zero_out_var(&tv);
+ memset(&tmp, 0, sizeof(tmp));
+ pos = p;
+ t.lineno = 1;