[asterisk-commits] kpfleming: branch 1.4 r107461 - in /branches/1.4: ./ apps/ include/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 11 09:33:46 CDT 2008
Author: kpfleming
Date: Tue Mar 11 09:33:45 2008
New Revision: 107461
URL: http://svn.digium.com/view/asterisk?view=rev&rev=107461
Log:
stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3
Modified:
branches/1.4/apps/app_sms.c
branches/1.4/configure
branches/1.4/configure.ac
branches/1.4/include/asterisk/autoconfig.h.in
Modified: branches/1.4/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_sms.c?view=diff&rev=107461&r1=107460&r2=107461
==============================================================================
--- branches/1.4/apps/app_sms.c (original)
+++ branches/1.4/apps/app_sms.c Tue Mar 11 09:33:45 2008
@@ -467,7 +467,7 @@
t.tm_min += 15 * ((i[6] & 0x7) * 10 + (i[6] >> 4));
else
t.tm_min -= 15 * ((i[6] & 0x7) * 10 + (i[6] >> 4));
- return mktime (&t);
+ return ast_mktime(&t, NULL);
}
/*! \brief unpacks bytes (7 bit encoding) at i, len l septets,
@@ -755,7 +755,7 @@
t.tm_min = M;
t.tm_sec = S;
t.tm_isdst = -1;
- h->scts = mktime (&t);
+ h->scts = ast_mktime(&t, NULL);
if (h->scts == (time_t) - 1)
ast_log (LOG_WARNING, "Bad date/timein %s: %s", fn, p);
}
Modified: branches/1.4/configure.ac
URL: http://svn.digium.com/view/asterisk/branches/1.4/configure.ac?view=diff&rev=107461&r1=107460&r2=107461
==============================================================================
--- branches/1.4/configure.ac (original)
+++ branches/1.4/configure.ac Tue Mar 11 09:33:45 2008
@@ -251,7 +251,6 @@
# AC_FUNC_MALLOC
# AC_FUNC_REALLOC
AC_FUNC_MEMCMP
-AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_SETVBUF_REVERSED
Modified: branches/1.4/include/asterisk/autoconfig.h.in
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/autoconfig.h.in?view=diff&rev=107461&r1=107460&r2=107461
==============================================================================
--- branches/1.4/include/asterisk/autoconfig.h.in (original)
+++ branches/1.4/include/asterisk/autoconfig.h.in Tue Mar 11 09:33:45 2008
@@ -17,9 +17,6 @@
/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA
-
-/* Define to 1 if you have the `alarm' function. */
-#undef HAVE_ALARM
/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA
More information about the asterisk-commits
mailing list