This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Rich Felker wrote:
The relationship between time_t and broken down struct tm is strictly specified and does not admit leap seconds.
Although that's true for applications that specify POSIX TZ values, glibc supports leap seconds as an extension. Once you set the TZ environment variable to a value like "right/America/Los_Angeles" that is outside what POSIX allows, the implementation can do what it likes here.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |