summaryrefslogtreecommitdiff
path: root/package/asterisk/patches/patch-main_translate_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 18:10:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 18:10:24 +0100
commitb047da059a1042a27ba68b1bdc50dd187bd362f4 (patch)
tree5529bdac03674fab07bb4335fc5ce4e5654c7497 /package/asterisk/patches/patch-main_translate_c
parent5d93cc6de511d5330d0d0c7a0ebae8e6c9638e3d (diff)
update kernel to 2.6.32
- update some applications asterisk, curl, strace, radvd, rpm - fix allconfig - /dev for full build seems to need more than 64k
Diffstat (limited to 'package/asterisk/patches/patch-main_translate_c')
-rw-r--r--package/asterisk/patches/patch-main_translate_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/asterisk/patches/patch-main_translate_c b/package/asterisk/patches/patch-main_translate_c
new file mode 100644
index 000000000..36d7c3058
--- /dev/null
+++ b/package/asterisk/patches/patch-main_translate_c
@@ -0,0 +1,11 @@
+--- asterisk-1.4.27.1.orig/main/translate.c 2009-10-21 18:44:49.000000000 +0200
++++ asterisk-1.4.27.1/main/translate.c 2009-12-03 20:53:36.000000000 +0100
+@@ -442,7 +442,7 @@ static void rebuild_matrix(int samples)
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Resetting translation matrix\n");
+
+- bzero(tr_matrix, sizeof(tr_matrix));
++ memset(tr_matrix, 0, sizeof(tr_matrix));
+
+ /* first, compute all direct costs */
+ AST_LIST_TRAVERSE(&translators, t, list) {