I had the I think the same problem with mktime().
(Ubuntu EGLIBC 2.19-0ubuntu6.8) 2.19

With input data:
struct tm   testtime = {0};
    testtime.tm_year=10;
    testtime.tm_mon=0;
    testtime.tm_mday=1;
    testtime.tm_hour=0;
    testtime.tm_min=0;
    testtime.tm_sec=0;

mktime(t)       int     -1893459600     for "Europe/Budapest"
mktime(t)       int     -1893456000     for "Europe/London"
mktime(t)       int     -1893462264 ??? for "Europe/Bucharest"  

for 
struct tm   testtime = {0};
    testtime.tm_year=50;
    testtime.tm_mon=0;
    testtime.tm_mday=1;
    testtime.tm_hour=0;
    testtime.tm_min=0;
    testtime.tm_sec=0;

mktime(t)       int     -631155600      for "Europe/Budapest"
mktime(t)       int     -631152000      for "Europe/London"
mktime(t)       int     -631159200      for "Europe/Bucharest"
mktime(t)       int     -631134000      for "America/Nipigon"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437534

Title:
  unstable mktime result

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1437534/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to