[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 281360] 4.7.1: file picker hangs reading localtime over and over
From:       David Jarvie <djarvie () kde ! org>
Date:       2012-04-11 21:47:04
Message-ID: bug-281360-17878-TZEPFTY4zf () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=281360

David Jarvie <djarvie@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from David Jarvie <djarvie@kde.org> ---
Git commit 332a3c15ab3f871e4c61e95719e0bba9e86b677f by David Jarvie.
Committed on 11/04/2012 at 23:42.
Pushed by djarvie into branch 'KDE/4.8'.

Use KTzfileTimeZone instead of KSystemTimeZone on UNIX

Use KTzfileTimeZone in preference to KSystemTimeZone on UNIX systems,
since use of the standard system libraries by KSystemTimeZone
requires the use of tzset() in several methods. That function reads
and parses the local system time zone definition file every time it is
called, and this has been observed to make applications hang for many
seconds when a large number of KSystemTimeZone calls are made in
succession.

M  +5    -2    kdecore/date/ksystemtimezone.cpp
M  +11   -11   kdecore/date/ksystemtimezone.h
M  +2    -2    kdecore/date/ktzfiletimezone.cpp
A  +288  -0    kdecore/tests/Berlin.zdump
A  +374  -0    kdecore/tests/Los_Angeles.zdump
M  +36   -4    kdecore/tests/ktimezonestest.cpp
M  +1    -0    kdecore/tests/ktimezonestest.h

http://commits.kde.org/kdelibs/332a3c15ab3f871e4c61e95719e0bba9e86b677f

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic