summaryrefslogtreecommitdiff
path: root/utils.c
AgeCommit message (Collapse)Author
2005-08-23make the warning message be LOG_WARNING (issue #4960)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07more fixes for gcc4 warnings ...Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03Fix solaris vasprintf (don't free the memory, duh) (bug #4890)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03Fix vasnprintf emulation (bug #4882)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20move strtoq into new string files (bug #4740)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19restore warning about negative timestamps now that it is fixedRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19suppress timestamp message until we can figure out where it is coming from,Russell Bryant
since it appears that this isn't causing a real problem git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
of usses to use the new functions (bug #4504) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15phase two of string portability stuff:Kevin P. Fleming
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15more ifdef cleanup to match proper Linux macrosKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15Fix breakage caused by bug #4669. Next time let's test the build onJosh Roberson
linux before commiting a portability patch ;) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15first phase of proper fix for portable string function problems (bug #4669)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24split up string/time functions into separate header filesKevin P. Fleming
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules) move compiler-specific stuff into a separate header file git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23make inlinable functions only need the function body in one file, and ↵Kevin P. Fleming
respond properly to LOW_MEMORY being defined make ast_copy_string inlinable, and ast_tvdiff_ms LOW_MEMORY aware git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18Fix up utils nonsenseMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17don't let ast_trim_blanks operate on empty strings or run off the beginning ↵Kevin P. Fleming
of the string git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17string/whitespace handling cleanups (bug #4449, with mods)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
add per-file revision tags and 'show version files' CLI command git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-27Fix cast to int from pointer (duh!)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20make IF dialplan function handle quoted strings properly (bug #4322, with ↵Kevin P. Fleming
API mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15add ast_build_string library function (from bug #3644)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-09Provide proper code attribution for public domain gethostbyname_rMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03fix breakage when ast_copy_string is used to copy substrings (bug #4146, but ↵Kevin P. Fleming
a different fix) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02add experimental ast_copy_string() function to be used in place of strncpy() ↵Kevin P. Fleming
(see discussion on asterisk-dev) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22phase 1 of header include cleanup (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06*** empty log message ***Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17Add support for Solaris/x86 (bug #3064)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-08Fix compile of utils.c on *BSD (Bug #3724)Josh Roberson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05Make mpg123 behave more nicelyMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04Make stack size be selectableMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-03Roll back previous change due to crossing of fixesJosh Roberson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-03Fix AST_STACKSIZE to match utils.h of AST_STACK_SIZE (bug 3706)Josh Roberson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-03Fix stack size (take 2) (bug #3706)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-03Support > 300 threads on x86-32 and other 32-bit systemsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-18Add OEJ's md5 app (bug #3604)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21update copyright headers for 2005Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15Make groups be 64-bits (bug #3351, with mods)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-08Include missing file (bug #3277)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-03Merge OEJ's print groups feature (bug #3228, with changes)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-17Thread fixes, vm fix (bug #2665)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-05Major changes to res_config to support centralized config, eliminate ↵Mark Spencer
configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-25Fix for "show applications like" (bug #2501)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-06Use stdlib.h instead of alloca.hMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31Merge NetBSD and Courtesty tone with modifications (bug #2329)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-27Merge "show applications" from corydon76 (bug #2291)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08Merge BSD stack size work (bug #2067)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3