Brian West
74ab9515a4
FS-6294 DragonFly requires this also.
2014-03-21 11:14:15 -05:00
Brian West
c4c0f38aab
FS-6294 FS-6308 NetBSD support should work test and report back please.
2014-03-19 14:34:07 -05:00
Anthony Minessale
066de4b378
Port commit from gitorious copy of sofia-sip our code now differs but this issue would still be a concern for OS X
...
commit ee51fa4e2993ab71339e29691aec8b924c810c53
Author: Frode Isaksen <frode.isaksen@bewan.com>
Date: Thu Aug 18 16:40:58 2011 +0300
su: fix su_time() on 64-bit OS X
The field tv_sec in struct timeval is 64bits instead of 32bits as in
su_time_t, so you cannot cast su_time_t to struct timeval.
2014-03-05 10:25:39 -06:00
Travis Cross
2fe0516ac2
Fix missing/duplicate declaration
...
This looks like a copy/paste error.
FS-6037 --resolve
Thanks-to: David Sanders <dsanders@pinger.com>
2014-02-21 21:09:19 +00:00
Michael Jerris
63aea267bc
change macro name to work around conflict in openbsd
2014-02-21 15:25:50 -05:00
Michael Jerris
19f9dc12d3
change macro name to work around conflict in openbsd
2014-02-21 15:24:44 -05:00
Anthony Minessale
0e14b758fc
FS-6150 --resolve cool find
2014-01-27 06:57:05 +05:00
Jeff Lenk
bb53175526
FS-6010 --resolve
2013-11-29 22:16:49 -06:00
Jeff Lenk
a52a604fbb
FS-5527 fix compiler error windows
2013-06-28 11:05:27 -05:00
Anthony Minessale
dac93d7936
FS-5527 --resolve
2013-06-28 10:42:06 -05:00
Anthony Minessale
fddad1da06
FS-5343 --resolve
2013-04-24 12:09:35 -05:00
Anthony Minessale
45d849ab74
FS-5095 --resolve all boils down to uninitialized vars grrr
2013-02-19 13:11:50 -06:00
Michael Jerris
63deed9fc9
fix double-destroy seg
2013-01-14 12:02:28 -05:00
Anthony Minessale
18f20e24bf
fix bad return vals on sending messages when under stress
2012-11-13 17:56:31 -06:00
Anthony Minessale
6627dc8696
fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p
2012-11-07 14:53:16 -06:00
Seven Du
3ef548eeb5
fix compile, please review
2012-10-27 08:24:01 +08:00
Anthony Minessale
63e2044a7e
modify sofia debug code to print file, line numbers and function name
2012-10-26 14:15:14 -05:00
Anthony Minessale
5f469ad2bd
FS-4753 --resolve this should properly detect it everywhere
2012-10-23 13:14:51 -04:00
Seven Du
0263ce9247
FS-4695 fix apple build, seems there's no pthread_setschedprio on Mac, not sure if windows has the same problem in apr/threadproc/unix/thread.c
2012-10-08 09:03:34 +08:00
Jeff Lenk
5620d6d063
windows fixes for priority - needs to be revisited when apr and pthread versions support calls.
2012-10-01 20:34:15 -05:00
Anthony Minessale
0f477d1586
increase pri in sofia
2012-10-01 12:25:10 -05:00
Travis Cross
9e52f33d91
Implement MEMLOCK and UNLOCK as functions
...
Converting these macros to functions declared static inline allow the
C type-checker to work and avoid warnings about unused expression
values. These warnings break the build with clang.
2012-06-25 06:38:29 +00:00
Travis Cross
c01a142665
Implement su_errno and su_seterrno as functions
...
This avoid warnings about expressions with unused values. These
warnings break the build with clang.
An optimizing compiler should still inline these calls. If that turns
out not to happen on some platform, we could rename the functions used
internally and declare them static inline.
2012-06-25 06:38:29 +00:00
Travis Cross
43f2c89a08
Fix memset calls in sofia-sip
...
These calls were zeroing only a pointer's worth of memory rather than
the actual size of the objects.
2012-06-25 06:38:29 +00:00
Anthony Minessale
92fb339434
FS-4071 --resolve
2012-04-04 16:18:53 -05:00
Anthony Minessale
b0e076a74f
FS-3386 add some more debug defines to sofia and avoid double destroy in nh
2011-07-16 01:03:01 -05:00
Jeff Lenk
7adaceb87a
Fix for issue reported on the mailing list with a Chinese locale and windows. This commit removes a hidden char that should not have been there anyway.
2011-05-04 16:54:45 -05:00
Marc Olivier Chouinard
626a99f994
sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia)
2011-04-23 20:33:19 -04:00
Anthony Minessale
257bc9ff41
lower stack and boost priority of sofia schedule thread
2011-03-22 15:02:10 -05:00
Michael Jerris
9b14bd5dbd
fix file modes in sofia
2010-10-03 05:53:07 -04:00
Jeff Lenk
45ecbc2f61
fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side
2010-09-29 15:47:58 -05:00
Jeff Lenk
46dd24c2e9
SFSIP-220 VS2010 sofia posix problem
2010-08-21 22:39:01 -05:00
Michael Jerris
780bce83a4
Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian winscw build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:04 +00:00
Michael Jerris
72210971cd
Mon Jun 29 04:13:42 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian armv5 build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:38 +00:00
Michael Jerris
340bdda571
Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:51:27 +00:00
Michael Jerris
c60535e7a8
Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT
Ignore-this: 9fe2247164d572901ed4a30b009353db
Solaris defines pthread_once_t as a struct containing an array. The
initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
one. Original patch from Mike Jerris <mike@jerris.com>.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:23:16 +00:00
Michael Jerris
420e92a6f3
silence solaris warning from missing braces (SFSIP-132)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:21:06 +00:00
Michael Jerris
eaf0c7c8b5
libsofiasip: fix buffer overrun (SFSIP-136)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 23:04:42 +00:00
Michael Jerris
a26400fc4c
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
Ignore-this: ee98b86faadc4a39186ba4991b073c40
Mon Mar 23 12:41:53 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: simple threadsafe implementation
Ignore-this: b3597fb6032b79a61b63f004f121188b
Using /dev/urandom where available, simple 64-bit prng elsewhere.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:54:18 +00:00
Michael Jerris
4d643bccc1
Wed Mar 11 11:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_config.h: include extern in SOFIAPUBVAR
Ignore-this: 7cccd45776e8452a8e404aaf01eaeadf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:33 +00:00
Michael Jerris
596a0b60cb
Mon Mar 9 12:44:03 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: shorten race on _su_deinit()
Ignore-this: 6d4e6edb434a96e66c9bb018a201a3c6
Make home object unusable earlier during denitialization.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:53 +00:00
Mathieu Rene
b342ff1b2a
Revert 12400
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 14:21:51 +00:00
Michael Jerris
eb218a9656
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:02:55 +00:00
Michael Jerris
72aff5e8ab
Thu Feb 26 09:31:51 CST 2009 Michael Jerris <mike@jerris.com>
...
* su_localinfo.c: fix build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:38:34 +00:00
Brian West
d35ca59959
Tue Feb 3 10:31:33 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_wait.h: added su_root_clone()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:24:05 +00:00
Brian West
38abb2ced7
Tue Feb 3 10:29:44 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: added su_home_parent()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:23:05 +00:00
Michael Jerris
e591b6ce3a
Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/heap.h: use static scope for functions given to sort()
Ignore-this: 72e91b9470ccc23300ce06eb836d56f4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:35:59 +00:00
Michael Jerris
cf9f7888f1
Wed Feb 25 11:29:23 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: fixed seed array usage
Ignore-this: b6e6a195f3f34abc2119a741f8b6f5e2
Paper bags, anyone?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:34:54 +00:00
Brian West
46c3eec39a
Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su.h: define su_family via struct sockaddr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:43:31 +00:00
Michael Jerris
2980d25a14
fix sofia initstate correctly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 23:47:32 +00:00