aboutsummaryrefslogtreecommitdiffstats
path: root/main/stdtime
AgeCommit message (Collapse)AuthorFilesLines
2008-11-19the gcc optimizer frequently finds broken code (use of uninitalized ↵kpfleming1-1/+1
variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems. with this build system change, if (and only if) --enable-dev-mode was used and DONT_OPTIMIZE is turned on, when a source file is compiled it will actually be preprocessed (into a .i or .ii file), then compiled once with optimization (with the result sent to /dev/null) and again without optimization (but only if the first compile succeeded, of course). while making these changes, i did some cleanup work in Makefile.rules to move commonly-used combinations of flag variables into their own variables, to make the file easier to read and maintain git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@157859 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27improve header inclusion process in a few small ways:kpfleming1-1/+2
- 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: http://svn.digium.com/svn/asterisk/branches/1.4@144924 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20Compat fix for Solaristilghman1-0/+2
(closes issue #12022) Reported by: asgaroth Patches: 20080219__bug12022.diff.txt uploaded by Corydon76 (license 14) Tested by: asgaroth git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103845 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16Also set up gmtoff (this is used in the %z gnu extension to strftime)tilghman1-0/+1
Reported and fixed by jcmoore Closes issue #11002 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@85921 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Put a memset in ast_localtime() instead of a couple places in app_voicemailrussell1-0/+1
to prevent the problem everywhere instead of just a couple of places. (related to issue #10746) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82676 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Oops, wrong location for FreeBSD zone filestilghman1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so wetilghman3-717/+988
updated the localtime.c file from source. Next we'll have to write ast_strptime to match. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82285 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Merged revisions 51255 via svnmerge from tilghman1-3/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@51256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Minor fixes for Solaris.qwell1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16since we really, really have to have autoconfig.h included before all other ↵kpfleming1-5/+5
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: http://svn.digium.com/svn/asterisk/branches/1.4@48521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming5-0/+1974
- 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b