kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
June 2016
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
37 participants
345 discussions
Start a n
N
ew thread
git:master:bb1e6cea: app_java: skip throwing error of missing java for make readme
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: bb1e6ceadacd2b38826ed996e44cc45f3d8d1a41 URL:
https://github.com/kamailio/kamailio/commit/bb1e6ceadacd2b38826ed996e44cc45…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T13:58:39+02:00 app_java: skip throwing error of missing java for make readme - controlled by DOCBUILD=yes --- Modified: modules/app_java/Makefile --- Diff:
https://github.com/kamailio/
…
[View More]
kamailio/commit/bb1e6ceadacd2b38826ed996e44cc45…
Patch:
https://github.com/kamailio/kamailio/commit/bb1e6ceadacd2b38826ed996e44cc45…
--- diff --git a/modules/app_java/Makefile b/modules/app_java/Makefile index f3a40ae..c348ffd 100644 --- a/modules/app_java/Makefile +++ b/modules/app_java/Makefile @@ -24,7 +24,9 @@ LIBS += $(shell pkg-config libgcj --libs) -L$(JAVA_HOME)/lib -ljvm # At this point I don't see any universal method as explicit setting this variable at the compile phase. # -- ez ifeq ($(shell [ -d "${JAVA_HOME}" -a -f "$(JAVA_HOME)/include/jni.h" -a -f "$(JAVA_HOME)/lib/libjvm.so" ] && echo 1 || echo 0),0) - $(error Can't locate Java Development Kit. You have to specify environment JAVA_HOME to build app_java) +ifneq ($(DOCBUILD),yes) +$(error Cannot locate Java Development Kit. You have to specify environment JAVA_HOME to build app_java) +endif endif ifeq ($(OS), freebsd)
[View Less]
1
0
0
0
git:master:0ea1b700: core: mem/tlsf - return unsigned long for function giving available memory
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: 0ea1b700458888f60d54f3ebf192e09b9ea56d37 URL:
https://github.com/kamailio/kamailio/commit/0ea1b700458888f60d54f3ebf192e09…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:39:25+02:00 core: mem/tlsf - return unsigned long for function giving available memory - aling it with mem api prototype --- Modified: mem/tlsf_malloc.c Modified: mem/tlsf_malloc.h ---
…
[View More]
Diff:
https://github.com/kamailio/kamailio/commit/0ea1b700458888f60d54f3ebf192e09…
Patch:
https://github.com/kamailio/kamailio/commit/0ea1b700458888f60d54f3ebf192e09…
--- diff --git a/mem/tlsf_malloc.c b/mem/tlsf_malloc.c index 73ae412..2570ae6 100644 --- a/mem/tlsf_malloc.c +++ b/mem/tlsf_malloc.c @@ -1138,10 +1138,10 @@ void tlsf_meminfo(tlsf_t pool, struct mem_info *info) info->total_size = control->total_size; } -size_t tlsf_available(tlsf_t pool) +unsigned long tlsf_available(tlsf_t pool) { control_t* control = tlsf_cast(control_t*, pool); - return control->total_size - control->real_used; + return (unsigned long)(control->total_size - control->real_used); } void tlsf_status(tlsf_t pool) diff --git a/mem/tlsf_malloc.h b/mem/tlsf_malloc.h index 97e962a..b92ae6f 100644 --- a/mem/tlsf_malloc.h +++ b/mem/tlsf_malloc.h @@ -79,7 +79,7 @@ int tlsf_check_pool(pool_t pool); void tlsf_meminfo(tlsf_t pool, struct mem_info *info); void tlsf_status(tlsf_t pool); void tlsf_sums(tlsf_t pool); -size_t tlsf_available(tlsf_t pool); +unsigned long tlsf_available(tlsf_t pool); void tlsf_mod_get_stats(tlsf_t pool, void **root); void tlsf_mod_free_stats(void *root);
[View Less]
1
0
0
0
git:master:f17ac878: core: mem - qmalloc - cast size to unsigned long in debug messages
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: f17ac878a555b9baad3954e0e8c6b390378bad5a URL:
https://github.com/kamailio/kamailio/commit/f17ac878a555b9baad3954e0e8c6b39…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:28:32+02:00 core: mem - qmalloc - cast size to unsigned long in debug messages - better for compatibility with C sepcs older than C99 - newer specs allow %zu, but 'z' specifier is not in
…
[View More]
older specs, %lu being the safer approach --- Modified: mem/q_malloc.c --- Diff:
https://github.com/kamailio/kamailio/commit/f17ac878a555b9baad3954e0e8c6b39…
Patch:
https://github.com/kamailio/kamailio/commit/f17ac878a555b9baad3954e0e8c6b39…
[View Less]
1
0
0
0
git:master:7e8b679b: core: mem - fmalloc - cast size to unsigned long in debug messages
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: 7e8b679b6a2c66b3695da3f1e076cfa525607d34 URL:
https://github.com/kamailio/kamailio/commit/7e8b679b6a2c66b3695da3f1e076cfa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:19:20+02:00 core: mem - fmalloc - cast size to unsigned long in debug messages - better for compatibility with C sepcs older than C99 - newer specs allow %zu, but 'z' specifier is not in
…
[View More]
older specs, %lu being the safer approach --- Modified: mem/f_malloc.c --- Diff:
https://github.com/kamailio/kamailio/commit/7e8b679b6a2c66b3695da3f1e076cfa…
Patch:
https://github.com/kamailio/kamailio/commit/7e8b679b6a2c66b3695da3f1e076cfa…
[View Less]
1
0
0
0
git:master:587e24a4: core: mem - use size_t for tlsf memory management functions
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: 587e24a48094ad672aa625461a69363219de6922 URL:
https://github.com/kamailio/kamailio/commit/587e24a48094ad672aa625461a69363…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:04:08+02:00 core: mem - use size_t for tlsf memory management functions --- Modified: mem/tlsf_malloc.c --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
587e24a48094ad672aa625461a69363…
Patch:
https://github.com/kamailio/kamailio/commit/587e24a48094ad672aa625461a69363…
--- diff --git a/mem/tlsf_malloc.c b/mem/tlsf_malloc.c index 85afcff..73ae412 100644 --- a/mem/tlsf_malloc.c +++ b/mem/tlsf_malloc.c @@ -1370,7 +1370,7 @@ static tlsf_t _tlsf_shm_block = 0; /*SHM wrappers to sync the access to memory block*/ #ifdef DBG_TLSF_MALLOC -void* tlsf_shm_malloc(void* tlsfmp, unsigned long size, +void* tlsf_shm_malloc(void* tlsfmp, size_t size, const char* file, const char* func, unsigned int line, const char* mname) { void *r; @@ -1379,7 +1379,7 @@ void* tlsf_shm_malloc(void* tlsfmp, unsigned long size, shm_unlock(); return r; } -void* tlsf_shm_realloc(void* tlsfmp, void* p, unsigned long size, +void* tlsf_shm_realloc(void* tlsfmp, void* p, size_t size, const char* file, const char* func, unsigned int line, const char* mname) { void *r; @@ -1388,7 +1388,7 @@ void* tlsf_shm_realloc(void* tlsfmp, void* p, unsigned long size, shm_unlock(); return r; } -void* tlsf_shm_resize(void* tlsfmp, void* p, unsigned long size, +void* tlsf_shm_resize(void* tlsfmp, void* p, size_t size, const char* file, const char* func, unsigned int line, const char* mname) { void *r; @@ -1406,7 +1406,7 @@ void tlsf_shm_free(void* tlsfmp, void* p, const char* file, const char* func, shm_unlock(); } #else -void* tlsf_shm_malloc(void* tlsfmp, unsigned long size) +void* tlsf_shm_malloc(void* tlsfmp, size_t size) { void *r; shm_lock(); @@ -1414,7 +1414,7 @@ void* tlsf_shm_malloc(void* tlsfmp, unsigned long size) shm_unlock(); return r; } -void* tlsf_shm_realloc(void* tlsfmp, void* p, unsigned long size) +void* tlsf_shm_realloc(void* tlsfmp, void* p, size_t size) { void *r; shm_lock(); @@ -1422,7 +1422,7 @@ void* tlsf_shm_realloc(void* tlsfmp, void* p, unsigned long size) shm_unlock(); return r; } -void* tlsf_shm_resize(void* tlsfmp, void* p, unsigned long size) +void* tlsf_shm_resize(void* tlsfmp, void* p, size_t size) { void *r; shm_lock();
[View Less]
1
0
0
0
git:master:7a5c95d7: core: mem - use size_t for qm memory management functions
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: 7a5c95d77f863d4af6115b2b744549bd7fe6fc89 URL:
https://github.com/kamailio/kamailio/commit/7a5c95d77f863d4af6115b2b744549b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:03:50+02:00 core: mem - use size_t for qm memory management functions --- Modified: mem/q_malloc.c Modified: mem/q_malloc.h --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
7a5c95d77f863d4af6115b2b744549b…
Patch:
https://github.com/kamailio/kamailio/commit/7a5c95d77f863d4af6115b2b744549b…
[View Less]
1
0
0
0
git:master:b2f1456a: core: mem - use size_t for fm memory management functions
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: b2f1456ae03f2c75aceab8eea177464dc4cc3672 URL:
https://github.com/kamailio/kamailio/commit/b2f1456ae03f2c75aceab8eea177464…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:03:18+02:00 core: mem - use size_t for fm memory management functions --- Modified: mem/f_malloc.c Modified: mem/f_malloc.h --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
b2f1456ae03f2c75aceab8eea177464…
Patch:
https://github.com/kamailio/kamailio/commit/b2f1456ae03f2c75aceab8eea177464…
[View Less]
1
0
0
0
git:master:bab8a6b1: core: mem - use size_t for memory management api prototypes
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: master Commit: bab8a6b172e2a0a6155515587e72d674205dbe0c URL:
https://github.com/kamailio/kamailio/commit/bab8a6b172e2a0a6155515587e72d67…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T10:01:51+02:00 core: mem - use size_t for memory management api prototypes - be compatible with standard malloc(...) prototype --- Modified: mem/memapi.h --- Diff:
https://github.com/
…
[View More]
kamailio/kamailio/commit/bab8a6b172e2a0a6155515587e72d67…
Patch:
https://github.com/kamailio/kamailio/commit/bab8a6b172e2a0a6155515587e72d67…
--- diff --git a/mem/memapi.h b/mem/memapi.h index 28e9f86..2e1b7fe 100644 --- a/mem/memapi.h +++ b/mem/memapi.h @@ -20,27 +20,29 @@ #ifndef _sr_mem_api_ #define _sr_mem_api_ +#include <string.h> + #include "src_loc.h" #include "meminfo.h" #include "memdbg.h" #ifdef DBG_SR_MEMORY -typedef void* (*sr_malloc_f)(void* mbp, unsigned long size, +typedef void* (*sr_malloc_f)(void* mbp, size_t size, const char* file, const char* func, unsigned int line, const char* mname); typedef void (*sr_free_f)(void* mbp, void* p, const char* file, const char* func, unsigned int line, const char* mname); -typedef void* (*sr_realloc_f)(void* mbp, void* p, unsigned long size, +typedef void* (*sr_realloc_f)(void* mbp, void* p, size_t size, const char* file, const char* func, unsigned int line, const char* mname); -typedef void* (*sr_resize_f)(void* mbp, void* p, unsigned long size, +typedef void* (*sr_resize_f)(void* mbp, void* p, size_t size, const char* file, const char* func, unsigned int line, const char* mname); #else /*DBG_SR_MEMORY*/ -typedef void* (*sr_malloc_f)(void* mbp, unsigned long size); +typedef void* (*sr_malloc_f)(void* mbp, size_t size); typedef void (*sr_free_f)(void* mbp, void* p); -typedef void* (*sr_realloc_f)(void* mbp, void* p, unsigned long size); -typedef void* (*sr_resize_f)(void* mbp, void* p, unsigned long size); +typedef void* (*sr_realloc_f)(void* mbp, void* p, size_t size); +typedef void* (*sr_resize_f)(void* mbp, void* p, size_t size); #endif /*DBG_SR_MEMORY*/
[View Less]
1
0
0
0
xmlrpc: missing declaration of vsnprintf
by Juha Heinanen
08 Jun '16
08 Jun '16
While compiling Kamailio 4.3 on Debian Jessie, I got this: CC (gcc) [M xmlrpc.so] xmlrpc.o xmlrpc.c: In function 'set_fault': xmlrpc.c:886:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration] vsnprintf(buf, REASON_BUF_LEN, fmt, ap); ^ xmlrpc.c: In function 'print_value': xmlrpc.c:1015:3: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] body.len = snprintf(buf, 256, "%f", va_arg(*ap, double)); ^ xmlrpc.c:1015:
…
[View More]
14: warning: incompatible implicit declaration of built-in function 'snprintf' body.len = snprintf(buf, 256, "%f", va_arg(*ap, double)); ^ Sounds pretty serious. -- Juha
[View Less]
2
7
0
0
git:4.2:851a06c6: xmlrpc: fix compiler warning #612
by Daniel-Constantin Mierla
08 Jun '16
08 Jun '16
Module: kamailio Branch: 4.2 Commit: 851a06c6f6a9f142b6c1fd51cd4a3d5b39ef5831 URL:
https://github.com/kamailio/kamailio/commit/851a06c6f6a9f142b6c1fd51cd4a3d5…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-06-08T09:34:56+02:00 xmlrpc: fix compiler warning #612 > CC (gcc) [M xmlrpc.so] xmlrpc.o > In file included from /usr/include/strings.h:26:0, > from xmlrpc.c:28: > /
…
[View More]
usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" (cherry picked from commit 947fe8673c3014f4d011583bed95d44408b907f4) (cherry picked from commit 42be15030909cf31cedbb3642e2a6b51b2b5ae9f) (cherry picked from commit 1582200618c8be92ac5aab0e15d2aaf82f8bfa57) --- Modified: modules/xmlrpc/xmlrpc.c --- Diff:
https://github.com/kamailio/kamailio/commit/851a06c6f6a9f142b6c1fd51cd4a3d5…
Patch:
https://github.com/kamailio/kamailio/commit/851a06c6f6a9f142b6c1fd51cd4a3d5…
--- diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c index 6743a30..7ba2e90 100644 --- a/modules/xmlrpc/xmlrpc.c +++ b/modules/xmlrpc/xmlrpc.c @@ -28,6 +28,7 @@ #endif #define _XOPEN_SOURCE_EXTENDED 1 /* solaris */ #define _SVID_SOURCE 1 /* timegm */ +#define _DEFAULT_SOURCE 1 /* _SVID_SOURCE is deprecated */ #include <strings.h> #include <time.h>
[View Less]
1
0
0
0
← Newer
1
...
20
21
22
23
24
25
26
...
35
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Results per page:
10
25
50
100
200