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
This commit is contained in:
Tilghman Lesher
2007-09-12 20:12:06 +00:00
parent ef740deceb
commit e28d1357de
4 changed files with 986 additions and 719 deletions

View File

@@ -24,11 +24,7 @@
#ifndef _ASTERISK_LOCALTIME_H
#define _ASTERISK_LOCALTIME_H
int ast_tzsetwall(void);
void ast_tzset(const char *name);
struct tm *ast_localtime(const time_t *timep, struct tm *p_tm, const char *zone);
time_t ast_mktime(struct tm * const tmp, const char *zone);
char *ast_ctime(const time_t * const timep);
char *ast_ctime_r(const time_t * const timep, char *buf);
#endif /* _ASTERISK_LOCALTIME_H */