]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- up to 1.8.24.0
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 24 Oct 2013 09:19:04 +0000 (11:19 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 24 Oct 2013 09:19:04 +0000 (11:19 +0200)
asterisk.spec
libedit-history.patch

index fd8b260234e2685136a53941ea6e63acc28f0ea8..7c73b4b700da7cf778684e3eda04e6602956e372 100644 (file)
 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
index c6675962bc9caf8bf7bcb1afca9c3b8dd049aa29..df6470eab602c56f21e201cd901524687337e3a8 100644 (file)
                        }
                        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);
        }
This page took 0.11093 seconds and 4 git commands to generate.