[asterisk-commits] kpfleming: trunk r107462 - in /trunk: ./ apps/ include/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 11 09:37:03 CDT 2008


Author: kpfleming
Date: Tue Mar 11 09:37:03 2008
New Revision: 107462

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107462
Log:
Merged revisions 107461 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107461 | kpfleming | 2008-03-11 09:33:45 -0500 (Tue, 11 Mar 2008) | 2 lines

stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_sms.c
    trunk/configure
    trunk/configure.ac
    trunk/include/asterisk/autoconfig.h.in

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sms.c?view=diff&rev=107462&r1=107461&r2=107462
==============================================================================
--- trunk/apps/app_sms.c (original)
+++ trunk/apps/app_sms.c Tue Mar 11 09:37:03 2008
@@ -542,7 +542,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, 

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=107462&r1=107461&r2=107462
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Mar 11 09:37:03 2008
@@ -302,7 +302,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: trunk/include/asterisk/autoconfig.h.in
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/autoconfig.h.in?view=diff&rev=107462&r1=107461&r2=107462
==============================================================================
--- trunk/include/asterisk/autoconfig.h.in (original)
+++ trunk/include/asterisk/autoconfig.h.in Tue Mar 11 09:37:03 2008
@@ -29,9 +29,6 @@
 
 /* Define to indicate the ${ACOS_DESCRIP} library version */
 #undef HAVE_ACOS_VERSION
-
-/* 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