mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-03 09:21:29 +00:00
FS-2738
This commit is contained in:
parent
45e2b99dab
commit
3fee704d66
libs/apr
@ -1 +1 @@
|
|||||||
Thu Nov 19 09:24:37 EST 2009
|
Mon Sep 27 13:15:54 CDT 2010
|
||||||
|
@ -824,7 +824,13 @@ APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *),
|
|||||||
* Modifier check. Note that if APR_INT64_T_FMT is "d",
|
* Modifier check. Note that if APR_INT64_T_FMT is "d",
|
||||||
* the first if condition is never true.
|
* the first if condition is never true.
|
||||||
*/
|
*/
|
||||||
if ((sizeof(APR_INT64_T_FMT) == 4 &&
|
|
||||||
|
/* HACK BY FREESWITCH TEAM TO FIX COMPATIBILITY 2010-09-27 */
|
||||||
|
if (*fmt == 'l' && *(fmt + 1) == 'l') {
|
||||||
|
var_type = IS_QUAD;
|
||||||
|
fmt += 2;
|
||||||
|
}
|
||||||
|
else if ((sizeof(APR_INT64_T_FMT) == 4 &&
|
||||||
fmt[0] == APR_INT64_T_FMT[0] &&
|
fmt[0] == APR_INT64_T_FMT[0] &&
|
||||||
fmt[1] == APR_INT64_T_FMT[1]) ||
|
fmt[1] == APR_INT64_T_FMT[1]) ||
|
||||||
(sizeof(APR_INT64_T_FMT) == 3 &&
|
(sizeof(APR_INT64_T_FMT) == 3 &&
|
||||||
@ -843,6 +849,11 @@ APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *),
|
|||||||
else if (*fmt == 'l') {
|
else if (*fmt == 'l') {
|
||||||
var_type = IS_LONG;
|
var_type = IS_LONG;
|
||||||
fmt++;
|
fmt++;
|
||||||
|
/* HACK BY FREESWITCH TEAM TO FIX COMPATIBILITY 2010-09-27 */
|
||||||
|
if (*fmt == 'l') {
|
||||||
|
var_type = IS_QUAD;
|
||||||
|
fmt++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (*fmt == 'h') {
|
else if (*fmt == 'h') {
|
||||||
var_type = IS_SHORT;
|
var_type = IS_SHORT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user