1. 03 Oct, 2016 2 commits
    • Elliott Hughes's avatar
      Fix tzdata loading. · 81c46fc1
      Elliott Hughes authored
      Android uses one large file of tzdata, so the "read up to the maximum
      possible length of a valid tzfile" code in upstream localtime.c is
      broken: there is always data after the current tzfile (even the
      last tzfile is followed by the zone.tab data). This patch passes the
      exact length through to the read(2) call so we don't over-read, rather
      than have to rewrite upstream code that measures back from the "end" of
      the tzfile.
      
      The old code failed the existing time.strftime_null_tm_zone test after
      updating to tzdata2016g.
      
      Bug: http://b/31848040
      Test: time.strftime_null_tm_zone
      Change-Id: Iee059b5a8c051bd4952cfd80f02b00d83e489d5e
      81c46fc1
    • Joachim Sauer's avatar
      Merge "Update timezone data to 2016g." · d6096307
      Joachim Sauer authored
      d6096307
  2. 30 Sep, 2016 6 commits
    • Joachim Sauer's avatar
      Update timezone data to 2016g. · e131f6cf
      Joachim Sauer authored
      The 2016g release of the tz code and data is available. It reflects the
      following changes, which were either circulated on the tz mailing list
      or are relatively minor technical or administrative changes:
      
        Changes to future time stamps
      
          Turkey switched from EET/EEST (+02/+03) to permanent +03,
          effective 2016-09-07.  (Thanks to Burak AYDIN.)  Use "+03" rather
          than an invented abbreviation for the new time.
      
          New leap second 2016-12-31 23:59:60 UTC as per IERS Bulletin C 52.
          (Thanks to Tim Parenti.)
      
        Changes to past time stamps
      
          For America/Los_Angeles, spring-forward transition times have been
          corrected from 02:00 to 02:01 in 1948, and from 02:00 to 01:00 in
          1950-1966.
      
          For zones using Soviet time on 1919-07-01, transitions to UT-based
          time were at 00:00 UT, not at 02:00 local time.  The affected
          zones are Europe/Kirov, Europe/Moscow, Europe/Samara, and
          Europe/Ulyanovsk.  (Thanks to Alexander Belopolsky.)
      
        Changes to past and future time zone abbreviations
      
          The Factory zone now uses the time zone abbreviation -00 instead
          of a long English-language string, as -00 is now the normal way to
          represent an undefined time zone.
      
          Several zones in Antarctica and the former Soviet Union, along
          with zones intended for ships at sea that cannot use POSIX TZ
          strings, now use numeric time zone abbreviations instead of
          invented or obsolete alphanumeric abbreviations.  The affected
          zones are Antarctica/Casey, Antarctica/Davis,
          Antarctica/DumontDUrville, Antarctica/Mawson, Antarctica/Rothera,
          Antarctica/Syowa, Antarctica/Troll, Antarctica/Vostok,
          Asia/Anadyr, Asia/Ashgabat, Asia/Baku, Asia/Bishkek, Asia/Chita,
          Asia/Dushanbe, Asia/Irkutsk, Asia/Kamchatka, Asia/Khandyga,
          Asia/Krasnoyarsk, Asia/Magadan, Asia/Omsk, Asia/Sakhalin,
          Asia/Samarkand, Asia/Srednekolymsk, Asia/Tashkent, Asia/Tbilisi,
          Asia/Ust-Nera, Asia/Vladivostok, Asia/Yakutsk, Asia/Yekaterinburg,
          Asia/Yerevan, Etc/GMT-14, Etc/GMT-13, Etc/GMT-12, Etc/GMT-11,
          Etc/GMT-10, Etc/GMT-9, Etc/GMT-8, Etc/GMT-7, Etc/GMT-6, Etc/GMT-5,
          Etc/GMT-4, Etc/GMT-3, Etc/GMT-2, Etc/GMT-1, Etc/GMT+1, Etc/GMT+2,
          Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8,
          Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12, Europe/Kaliningrad,
          Europe/Minsk, Europe/Samara, Europe/Volgograd, and
          Indian/Kerguelen.  For Europe/Moscow the invented abbreviation MSM
          was replaced by +05, whereas MSK and MSD were kept as they are not
          our invention and are widely used.
      
        Changes to zone names
      
          Rename Asia/Rangoon to Asia/Yangon, with a backward compatibility link.
          (Thanks to David Massoud.)
      
      Test: Ran CTS modules CtsLibcoreTestCases and CtsBionicTestCases.
      Bug: 31848040
      Change-Id: I1e652ce2e428d44ba143e4ca9630fd2dc46087e4
      e131f6cf
    • Elliott Hughes's avatar
      b81ade62
    • Elliott Hughes's avatar
      d43c8891
    • Treehugger Robot's avatar
      83e9f36a
    • Elliott Hughes's avatar
      Fix mbsnrtowcs where `dst` is null. · 89e29ee4
      Elliott Hughes authored
      POSIX is its usual unintelligible self
      (http://pubs.opengroup.org/onlinepubs/9699919799/functions/mbsrtowcs.html),
      but the ISO C11 standard (7.29.6.4.1 paragraph 2) is pretty clear: *src
      should change if and only if dst is non-null.
      
      Bug: https://code.google.com/p/android/issues/detail?id=166381
      Test: bionic tests
      Change-Id: Ibc631cfa5b1bf4a6f56963feba9f0eea27b07984
      89e29ee4
    • Elliott Hughes's avatar
      Fix tests/run-on-host.sh for glibc. · f48f4993
      Elliott Hughes authored
      Test: tests/run-on-host.sh glibc
      Change-Id: Idd5b2a72335ff0ca47f37c578f71cec8c9fb6ea0
      f48f4993
  3. 29 Sep, 2016 3 commits
  4. 28 Sep, 2016 2 commits
    • Christopher Ferris's avatar
      Update documentation. · ac66d16a
      Christopher Ferris authored
      Fix the incorrect mention of when the zygote flag is set on a size.
      
      Add information about how to use am dumpheap -n to dump the native
      heap to a file.
      
      Test: Documentation only change.
      
      Change-Id: I82e810ee7ffffcf7506fb6fd9bcfdfb0465a48be
      ac66d16a
    • Elliott Hughes's avatar
      Rename __pure, __pure2, and __purefunc. · 95fa0616
      Elliott Hughes authored
      These names were pretty misleading (aka "backwards"), so switch to the
      same obvious names glibc uses.
      
      Test: build.
      Change-Id: Ia98c9dbbccd0820386116562347654e84669034a
      95fa0616
  5. 26 Sep, 2016 3 commits
  6. 23 Sep, 2016 2 commits
  7. 22 Sep, 2016 3 commits
  8. 21 Sep, 2016 8 commits
  9. 17 Sep, 2016 4 commits
  10. 16 Sep, 2016 1 commit
  11. 15 Sep, 2016 6 commits