• Skip to content
  • Skip to link menu
The KDE Source Repository
  • KDE Homepage / KDE Source Repository Homepage
  • -Full Width
  • Sitemap
  • Contact Us
 
/[KDE]

Revision 966158


Jump to revision: Previous Next
Author: orlovich
Date: Sun May 10 14:19:44 2009 UTC (14 years, 6 months ago)
Changed paths: 1
Log Message:
automatically merged revision 966155:
Make sure to clip date value to the valid range in all paths.
This prevents freezes on 32-bit as we don't end up with magnitudes
so large that there is not enough precision to represent the year 
accurately.

It prevents crashes on 64-bit as we don't end up with time_t's corresponding to 
date's with a year  > 2^31 - 1, on which localtime/gmtime return 0.
Thanks to Zahl for info and for verifying this help on 64-bit..

BUG:189373

Changed paths:

Path Details
Directorytrunk/KDE/kdelibs/kjs/date_object.cpp modified , text changed
Maintained by the KDE sysadmins
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal