Kevin P. Fleming
50a28e9853
improve header inclusion process in a few small ways:
...
- it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose
- astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled
- simplify the usage of some of these headers in the AEL-related stuff in the utils directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@144924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-27 15:00:48 +00:00
Tilghman Lesher
494aeb94ac
Compat fix for Solaris
...
(closes issue #12022 )
Reported by: asgaroth
Patches:
20080219__bug12022.diff.txt uploaded by Corydon76 (license 14)
Tested by: asgaroth
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@103845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-20 17:53:00 +00:00
Tilghman Lesher
17ee21bf18
Also set up gmtoff (this is used in the %z gnu extension to strftime)
...
Reported and fixed by jcmoore
Closes issue #11002
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 19:41:40 +00:00
Russell Bryant
82a6309168
Put a memset in ast_localtime() instead of a couple places in app_voicemail
...
to prevent the problem everywhere instead of just a couple of places.
(related to issue #10746 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-17 20:16:25 +00:00
Tilghman Lesher
4f1183bd27
Oops, wrong location for FreeBSD zone files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-12 21:28:33 +00:00
Tilghman Lesher
e28d1357de
Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so we
...
updated the localtime.c file from source. Next we'll have to write ast_strptime
to match.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-12 20:12:06 +00:00
Tilghman Lesher
8d59d5173a
Merged revisions 51255 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18 Jan 2007) | 2 lines
If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:14:24 +00:00
Jason Parker
d017436015
Minor fixes for Solaris.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 22:33:46 +00:00
Kevin P. Fleming
be1b5dab06
since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 20:12:41 +00:00
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00