[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] new module: timegm

From: Bruno Haible
Subject: Re: [Bug-gnulib] new module: timegm
Date: Mon, 1 Sep 2003 13:42:03 +0200
User-agent: KMail/1.5

Simon Josefsson wrote:

> +/* Convert calendar time to simple time, inverse of mktime. */
> +extern time_t timegm (struct tm *tm);

What about the tm_isdst field? Is the caller expected to set it or not?
The comments should say so. I'm asking because the first thing the glibc
implementation of timegm does is to erase the tm->tm_isdst field.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]