commit 129e3c4e4506c8adb332de7f1ed973299b5b4065
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Thu Oct 24 11:19:04 2013 +0200

    - up to 1.8.24.0

 asterisk.spec         | 4 ++--
 libedit-history.patch | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index fd8b260..7c73b4b 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -39,12 +39,12 @@
 Summary:       Asterisk PBX
 Summary(pl.UTF-8):     Centralka (PBX) Asterisk
 Name:          asterisk
-Version:       1.8.23.1
+Version:       1.8.24.0
 Release:       %{rel}%{?with_bristuff:.bristuff}
 License:       GPL v2
 Group:         Applications/System
 Source0:       
http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 345a3801d536941d985106af824cdb72
+# Source0-md5: 9baf82b95fc3f0b2c720d5b237ea4e54
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}.tmpfiles
diff --git a/libedit-history.patch b/libedit-history.patch
index c667596..df6470e 100644
--- a/libedit-history.patch
+++ b/libedit-history.patch
@@ -19,14 +19,14 @@
                        }
                        snprintf(buf, sizeof(buf), "_COMMAND MATCHESARRAY 
\"%s\" \"%s\"", lf->buffer, ptr); 
 @@ -2303,7 +2303,7 @@
-                                       /* Every step increment buffer 1024 
bytes */
-                                       maxmbuf += 1024;                        
                
-                                       if (!(mbuf = ast_realloc(mbuf, 
maxmbuf))) {
+                                       new_mbuf = ast_realloc(mbuf, maxmbuf);
+                                       if (!new_mbuf) {
+                                               ast_free(mbuf);
 -                                              lf->cursor[0] = savechr;
 +//                                            lf->cursor[0] = savechr; // 
this is readonly variable
                                                return (char *)(CC_ERROR);
                                        }
-                               }
+                                       mbuf = new_mbuf;
 @@ -2365,7 +2365,7 @@
                ast_free(matches);
        }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/asterisk.git/commitdiff/129e3c4e4506c8adb332de7f1ed973299b5b4065

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to