annotate modules/timegm @ 4621:3d28ad4e18e2

Add time_r module. Change timegm, mktime, and strftime to use localtime_r and gmtime_r, now supplied by the time_r module. This fixes some timegm bugs and cleans up mktime and strftime a bit.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 06 Sep 2003 21:34:07 +0000
parents 40e97ca1f46c
children 42b53a22aee5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4616
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Convert calendar time to simple time, inverse of mktime.
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/timegm.h
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/timegm.c
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/timegm.m4
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
4621
3d28ad4e18e2 Add time_r module. Change timegm, mktime, and strftime to use localtime_r
Paul Eggert <eggert@cs.ucla.edu>
parents: 4616
diff changeset
10 mktime
3d28ad4e18e2 Add time_r module. Change timegm, mktime, and strftime to use localtime_r
Paul Eggert <eggert@cs.ucla.edu>
parents: 4616
diff changeset
11 time_r
4616
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 configure.ac:
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 gl_FUNC_TIMEGM
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Makefile.am:
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 lib_SOURCES += timegm.h
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 Include:
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 "timegm.h"
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
40e97ca1f46c New module 'timegm'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Maintainer:
4621
3d28ad4e18e2 Add time_r module. Change timegm, mktime, and strftime to use localtime_r
Paul Eggert <eggert@cs.ucla.edu>
parents: 4616
diff changeset
23 all, glibc