reassign 63392 libc6
retitle 63392 ctime() doesn't respond to time zone changes in running program
thanks

Benjamin Tyger Sunshine-Hill wrote:
> I noticed that, after a time zone change (using tzconfig), mark messages
> (but not any other messages) are printed ith the previous time zone, up
> until a reboot.

A restart of the log daemon would be sufficient.

Syslogd executes time() and ctime() which correspond to the timezone
settings from when the program was started.

        (void) time(&now);
        timestamp = ctime(&now) + 4;

I don't think there's a way to tell a running program that it's
running in different timezone suddenly.

As ctime() is provided by glibc I'm reassigning this bug there.  If
there is a "solution" to this that can be implemented in syslogd,
please let me know and reassign the report back.

Regards,

        Joey

-- 
Every use of Linux is a proper use of Linux.  -- Jon 'maddog' Hall

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to