Merged revisions 107462 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
r107462 | kpfleming | 2008-03-11 09:37:03 -0500 (Tue, 11 Mar 2008) | 10 lines

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

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2008-03-11 14:37:23 +00:00
parent ca8d368a80
commit 07e93e4598
4 changed files with 150 additions and 523 deletions

View File

@@ -542,7 +542,7 @@ static time_t unpackdate(unsigned char *i)
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,