mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 16:24:43 +02:00
fix an uninitialized variable in awx (does not fix random segfault yet, still looking into it)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6750 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0fa6819d01
commit
0309c437f6
@ -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
|
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.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
|
+++ bb.dev/editors/awx.c 2007-03-14 02:03:50.566202928 +0100
|
||||||
@@ -0,0 +1,588 @@
|
@@ -0,0 +1,589 @@
|
||||||
+/*
|
+/*
|
||||||
+ * awk web extension
|
+ * awk web extension
|
||||||
+ *
|
+ *
|
||||||
@ -323,6 +323,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
|
|||||||
+ func *f;
|
+ func *f;
|
||||||
+ var *v, tv;
|
+ var *v, tv;
|
||||||
+
|
+
|
||||||
|
+ memset(&tmp, 0, sizeof(tmp));
|
||||||
+ pos = p;
|
+ pos = p;
|
||||||
+ t.lineno = 1;
|
+ t.lineno = 1;
|
||||||
+ while ((tclass = next_token(TC_EOF | TC_OPSEQ |
|
+ while ((tclass = next_token(TC_EOF | TC_OPSEQ |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user