russell
d99b677f35
remove almost all of the checks of the result from ast_strdupa() or alloca().
...
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
bweschke
0c3d4f7959
use pid_t instead of long for pid variables. #7099 (casper)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25488 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 12:32:44 +00:00
russell
4e4547c711
conversions to allocation wrappers and coding guidelines fixes (issue #6592 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11232 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-27 01:43:42 +00:00
tilghman
89a70084d9
Merged revisions 11165 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r11165 | tilghman | 2006-02-26 10:26:39 -0600 (Sun, 26 Feb 2006) | 2 lines
Bug 5950 - reenable queue log rotation; also, eliminate redundant code
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11166 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-26 16:40:39 +00:00
kpfleming
8d5e144aef
use a symbolic constant instead of a magic number (tholo!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 21:53:56 +00:00
tilghman
4938951394
Typo: should have been changed to a constant
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10784 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 21:20:28 +00:00
mogorman
c815e9dadb
changed LOG_WARNING to LOG_DEBUG for backtrace
...
messages (issue #6497 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10195 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 17:37:57 +00:00
mogorman
275ad97c10
Merged revisions 9232 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r9232 | mogorman | 2006-02-08 16:12:34 -0600 (Wed, 08 Feb 2006) | 4 lines
Make logger report error,warning,notice if logger.conf
not found, also updated chan_oss to give correct
error message if its config file is not found.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9239 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-08 23:14:17 +00:00
oej
e04a0e3cf1
More doxygen updates
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 00:18:42 +00:00
mogorman
f259f9b1a2
Merged revisions 7963 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines
Minor typo refrenced in 6191
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8125 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 16:58:09 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman
8d6c048c86
Bug 5183 - Inline stack backtraces
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7646 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 06:24:28 +00:00
russell
cfb1ef4712
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
kpfleming
5e1b840257
use thread ID instead of process ID in logger messages (issue #5349 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6726 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05 00:21:56 +00:00
kpfleming
2d294adb45
ensure that if the verbose buffer is full, we send it out even if it's not complete (issue #5263 , patch modified to actually compile)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6662 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26 15:43:16 +00:00
kpfleming
6b17a6e2a2
correct accidental logic reversal
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6616 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 14:27:14 +00:00
kpfleming
28f5caa2f8
clean up ast_verbose(), don't hold the lock any longer than needed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6606 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 23:56:50 +00:00
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
09d062b4e6
make DEBUG_THREADS have more visible logging
...
make DEBUG_THREADS able to catch locks being unlocked by threads that did not own them
add proper wrappers for pthread_cond_wait() and pthread_cond_timedwait() for DEBUG_THREADS mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6464 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 02:43:44 +00:00
kpfleming
887ebd5ee7
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6358 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 21:19:59 +00:00
markster
611730d962
Allow Asterisk to start even when eventlog is turned off (bug #4938 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6337 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15 19:35:25 +00:00
russell
9690f518f5
more ast_copy_string conversions
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 22:56:21 +00:00
kpfleming
153108fec0
ensure that filesize-triggered reloads don't recurse (bug #4621 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6031 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 20:31:34 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming
e500673791
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming
c862bed097
clarify comments even more
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5749 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20 13:58:39 +00:00
kpfleming
db62374780
add a little comment to keep someone else from having the same misunderstanding I had :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5748 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20 03:52:27 +00:00
markster
75ba0f6860
Revert improper patch from bug #4294
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5744 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 20:33:55 +00:00
kpfleming
815a2a9fc6
properly check for debug and verbose messages to suppress (bug #4294 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5726 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 02:54:23 +00:00
markster
c8e14efd1a
Fix logger check (bug #4260 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5650 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:28:47 +00:00
markster
64ef317fa8
Fix gethostname calls (bug #4198 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5600 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 16:44:25 +00:00
kpfleming
d6e1341f9b
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
kpfleming
0990055d31
fix obvious coding error from yesterday's fix
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5369 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03 21:25:45 +00:00
kpfleming
a34630d549
don't unnecessarily open-code strchr()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5361 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-02 23:20:11 +00:00
kpfleming
e8db74a3cd
strip color code sequences from verbose messages being sent to files/syslog (bug #3929 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5354 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 23:49:57 +00:00
kpfleming
7982336dee
Put syslog facility/level name into filename field, so it will show in 'logger show channels' (bug #3916 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5339 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 16:09:21 +00:00
markster
e4628c8ed2
Make logger respond better to lack of disk space and add "logger show channels" CLI (bug #3909 with minor mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5321 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 19:08:51 +00:00
markster
f2529d4563
No need for sizeof (bug #3887 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5294 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28 20:57:59 +00:00
markster
753778b962
Apply queuelog patch and perform final test of "test patches" system
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5168 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-11 08:49:01 +00:00
markster
8091484668
Add timestamping to console (bug #3653 with minor mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5163 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-11 07:24:10 +00:00
markster
7ad81915b7
Allow debug to be enabled on a per-file basis...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05 04:04:55 +00:00
markster
2207b9a515
Merge config updates (bug #3406 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
russell
c423c07af0
fix logging issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4563 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-27 22:41:58 +00:00
markster
253322596d
Fix comment issues (bug #3089 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4479 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18 22:04:07 +00:00
markster
70cedacdde
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14 23:36:30 +00:00
markster
38b5e581d4
Fix little logging issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4283 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17 19:27:47 +00:00