OSDN Git Service

android-x86/bionic.git
8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b...
Tianjie Xu [Fri, 7 Oct 2016 04:55:17 +0000 (04:55 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b am: 8c94feaa09  -s ours
am: 3fe8ac55bd

Change-Id: I90149e05e09d3dcd2c16ed02136c4806d36fc04a

8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b
Tianjie Xu [Fri, 7 Oct 2016 04:38:47 +0000 (04:38 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b
am: 8c94feaa09  -s ours

Change-Id: I2af80b2c17dcc82aac169958744f93f15f8f3ccb

8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed
Tianjie Xu [Fri, 7 Oct 2016 04:30:14 +0000 (04:30 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed
am: b2b0460c5b

Change-Id: I049b57acdb89e2e841e46120ce06616b0bc65922

8 years agoFix a linking error in bionic/tests am: 3656958a16
Tianjie Xu [Fri, 7 Oct 2016 04:26:44 +0000 (04:26 +0000)]
Fix a linking error in bionic/tests am: 3656958a16
am: 0893380bed

Change-Id: I462b022e42676ec6ceba39ece3933dc4cc6237d0

8 years agoFix a linking error in bionic/tests
Tianjie Xu [Fri, 7 Oct 2016 04:22:45 +0000 (04:22 +0000)]
Fix a linking error in bionic/tests
am: 3656958a16

Change-Id: I5636ecc4e0a5ff4e1ee0a6cd0f1d182d444e63f9

8 years agoFix a linking error in bionic/tests
Tianjie Xu [Fri, 7 Oct 2016 02:23:05 +0000 (19:23 -0700)]
Fix a linking error in bionic/tests

Fix the following linking error by adding liblog in the makefile:
"system/core/libziparchive/zip_archive.cc:277: error: undefined reference to
'__android_log_error_write'"

The error happens because libziparchive has dependency on liblog. This
error affects the downstream branches of nyc-dev.

Bug: 31251826
Test: mma -j32
Change-Id: Ia42909bbbd150ae0ca9f6aa6b14372f2e0aedccf

8 years agoFix for default library path "/vendor/lib" am: 8995c3876b am: faaf582f60
neo.chae [Wed, 5 Oct 2016 16:38:01 +0000 (16:38 +0000)]
Fix for default library path "/vendor/lib" am: 8995c3876b am: faaf582f60
am: 6559ef5f46

Change-Id: I6cf21aa5627704808052c7a4be158d94359d89f4

8 years agoMerge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b am: cd4bb629fa
Dimitry Ivanov [Wed, 5 Oct 2016 16:32:42 +0000 (16:32 +0000)]
Merge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b am: cd4bb629fa
am: ed9b193173

Change-Id: Iea70b726e1c4c936ec3e6634383903f066c35547

8 years agoFix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb am: f047b1dbbb
neo.chae [Wed, 5 Oct 2016 16:32:37 +0000 (16:32 +0000)]
Fix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb am: f047b1dbbb
am: 24179bfa22

Change-Id: Ic2949745fc223b8660d7590a482fb82a85cce395

8 years agoFix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce am: ec7a2273c6
Dimitry Ivanov [Wed, 5 Oct 2016 16:32:32 +0000 (16:32 +0000)]
Fix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce am: ec7a2273c6
am: ff006267b6

Change-Id: Ic0c3ed7fa9d12bf4b3bbe9897a57462c3b82377c

8 years agoFix for default library path "/vendor/lib" am: 8995c3876b
neo.chae [Wed, 5 Oct 2016 16:32:31 +0000 (16:32 +0000)]
Fix for default library path "/vendor/lib" am: 8995c3876b
am: faaf582f60

Change-Id: Id2757c6d6f7dab7831e6ddf5d1dc362896cbf598

8 years agoMerge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b
Dimitry Ivanov [Wed, 5 Oct 2016 16:30:14 +0000 (16:30 +0000)]
Merge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b
am: cd4bb629fa

Change-Id: I6af03b9b51e14ca16fe7e806e7e9068aebe9db35

8 years agoFix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb
neo.chae [Wed, 5 Oct 2016 16:30:09 +0000 (16:30 +0000)]
Fix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb
am: f047b1dbbb

Change-Id: Ieeed7fd4d3244e992c03be0919686660723fd574

8 years agoFix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce
Dimitry Ivanov [Wed, 5 Oct 2016 16:30:02 +0000 (16:30 +0000)]
Fix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce
am: ec7a2273c6

Change-Id: Iecf8f9499e4c5a495800a159cdfdea0ba4120824

8 years agoFix for default library path "/vendor/lib"
neo.chae [Wed, 5 Oct 2016 16:30:00 +0000 (16:30 +0000)]
Fix for default library path "/vendor/lib"
am: 8995c3876b

Change-Id: I06cfc0106ce5a9de3ec97a7aae2495bde6ddc87d

8 years agoMerge changes Ie6777e2b,Iaed834be am: e35872605b
Dimitry Ivanov [Wed, 5 Oct 2016 16:27:10 +0000 (16:27 +0000)]
Merge changes Ie6777e2b,Iaed834be am: e35872605b
am: 4be70a368b

Change-Id: I6ca5ebf4b09757606810fb37da13b7b94e32f361

8 years agoFix for default library path "/vendor/lib" am: 2589f9de64
neo.chae [Wed, 5 Oct 2016 16:27:06 +0000 (16:27 +0000)]
Fix for default library path "/vendor/lib" am: 2589f9de64
am: 6769c98fdb

Change-Id: I4236b7446893e43d85ff11fe0a07d32980cd14cd

8 years agoFix bionic-unit-tests am: d11d1e4a97
Dimitry Ivanov [Wed, 5 Oct 2016 16:27:01 +0000 (16:27 +0000)]
Fix bionic-unit-tests am: d11d1e4a97
am: 1a4e213bce

Change-Id: Ib45d577d3cb7a3e3333d9fd2d51eaf4477aaaa06

8 years agoMerge changes Ie6777e2b,Iaed834be
Dimitry Ivanov [Wed, 5 Oct 2016 16:24:35 +0000 (16:24 +0000)]
Merge changes Ie6777e2b,Iaed834be
am: e35872605b

Change-Id: I29f7da2e449d0182aef7cbd123355c3868619c39

8 years agoFix for default library path "/vendor/lib"
neo.chae [Wed, 5 Oct 2016 16:24:33 +0000 (16:24 +0000)]
Fix for default library path "/vendor/lib"
am: 2589f9de64

Change-Id: Iedd66e5461cb7148f0864a3f759c7cad4f3fc898

8 years agoFix bionic-unit-tests
Dimitry Ivanov [Wed, 5 Oct 2016 16:24:30 +0000 (16:24 +0000)]
Fix bionic-unit-tests
am: d11d1e4a97

Change-Id: I920d980a75d27ca0df86b90f30ad261845f4bd52

8 years agoMerge changes Ie6777e2b,Iaed834be
Dimitry Ivanov [Wed, 5 Oct 2016 16:20:44 +0000 (16:20 +0000)]
Merge changes Ie6777e2b,Iaed834be

* changes:
  Fix for default library path "/vendor/lib"
  Fix bionic-unit-tests

8 years agoFix for default library path "/vendor/lib"
neo.chae [Tue, 4 Oct 2016 02:00:27 +0000 (11:00 +0900)]
Fix for default library path "/vendor/lib"

Android N restrict which libraries C/C++ code
can link against at runtime.

If device has a vendor partition
then /system/vendor symlink to /vendor.
Otherwise /vendor symlink to /system/vendor.

But is_system_library() is only checking /vendor/lib.
It will return false for /system/vendor/lib path.
It is need to add a real path to default library path.

Similarily, default ld library path is already checking.
parse_LD_LIBRARY_PATH()->parse_path()->resolve_paths()

Test: build bionic and run bionic-unit-tests
Bug: http://b/31919547
Change-Id: Ie6777e2b02729948ce77a94de32343d40358bf2c
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
(cherry picked from commit 2589f9de6473a2030594e2c5e95541f00eb2dc7a)

8 years agoFix for default library path "/vendor/lib"
neo.chae [Tue, 4 Oct 2016 02:00:27 +0000 (11:00 +0900)]
Fix for default library path "/vendor/lib"

Android N restrict which libraries C/C++ code
can link against at runtime.

If device has a vendor partition
then /system/vendor symlink to /vendor.
Otherwise /vendor symlink to /system/vendor.

But is_system_library() is only checking /vendor/lib.
It will return false for /system/vendor/lib path.
It is need to add a real path to default library path.

Similarily, default ld library path is already checking.
parse_LD_LIBRARY_PATH()->parse_path()->resolve_paths()

Test: build bionic and run bionic-unit-tests
Bug: http://b/31919547
Change-Id: Ie6777e2b02729948ce77a94de32343d40358bf2c
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
8 years agoFix bionic-unit-tests
Dimitry Ivanov [Wed, 5 Oct 2016 09:51:17 +0000 (02:51 -0700)]
Fix bionic-unit-tests

Fix rpath value for libraries after build system update

Bug: http://b/31221587
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*:*atexit*
Change-Id: Iaed834bef830fd0b252b5de82e27634bafc92d8b

8 years agoUpdate timezone data to 2016g. am: ba9734ffd5 am: 93410a015e
Joachim Sauer [Tue, 4 Oct 2016 14:16:43 +0000 (14:16 +0000)]
Update timezone data to 2016g. am: ba9734ffd5 am: 93410a015e
am: d3b0f9d477

Change-Id: I066843006ef329c1bc905931406bb4b2ae7ef7f0

8 years agoUpdate timezone data to 2016g. am: ba9734ffd5
Joachim Sauer [Tue, 4 Oct 2016 14:15:05 +0000 (14:15 +0000)]
Update timezone data to 2016g. am: ba9734ffd5
am: 93410a015e

Change-Id: Iad88318d3a69d37f9be5c463f97ba547692eadb6

8 years agoUpdate timezone data to 2016g.
Joachim Sauer [Tue, 4 Oct 2016 14:03:16 +0000 (14:03 +0000)]
Update timezone data to 2016g.
am: ba9734ffd5

Change-Id: Iefe8047d6121febc517b812e22d80f87aa452dd8

8 years agoUpdate timezone data to 2016g.
Joachim Sauer [Mon, 3 Oct 2016 12:38:43 +0000 (13:38 +0100)]
Update timezone data to 2016g.

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: I4e9857616570ca9a540e27c109951ab265fea792

8 years agoresolve merge conflicts of 1fe8749 to nyc-mr1-dev-plus-aosp
Elliott Hughes [Tue, 4 Oct 2016 02:49:53 +0000 (02:49 +0000)]
resolve merge conflicts of 1fe8749 to nyc-mr1-dev-plus-aosp
am: 6b8d4dfcf8

Change-Id: Iedcd0aabace137b8e3283e27e9f3618df91eec79

8 years agoresolve merge conflicts of 1fe8749 to nyc-mr1-dev-plus-aosp
Elliott Hughes [Tue, 4 Oct 2016 02:45:22 +0000 (19:45 -0700)]
resolve merge conflicts of 1fe8749 to nyc-mr1-dev-plus-aosp

Change-Id: I9ff1a93ff1185cb9cc5377ec2848687a45f8f8de

8 years agoFix tzdata loading.
Elliott Hughes [Tue, 4 Oct 2016 02:38:35 +0000 (02:38 +0000)]
Fix tzdata loading.
am: fa8f1d0ab2

Change-Id: I9bb66df357a20b74f3ea25043287be2567c6a260

8 years agoMerge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462...
Elliott Hughes [Tue, 4 Oct 2016 02:37:53 +0000 (02:37 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462 am: df847f4900 am: 359422f500
am: 76cfe2b54a

Change-Id: I33e03624fa63018084aba45324aed021afc0eb34

8 years agoMerge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462...
Elliott Hughes [Tue, 4 Oct 2016 02:35:55 +0000 (02:35 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462 am: df847f4900
am: 359422f500

Change-Id: I24a1e55673818fc0dd3a1d75216c0a28efa9178e

8 years agoMerge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462
Elliott Hughes [Tue, 4 Oct 2016 02:31:52 +0000 (02:31 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am: 1ba0e27462
am: df847f4900

Change-Id: I5f8d9fa899d1f6cf0905dc8d6327c9be560d729f

8 years agoMerge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."
Elliott Hughes [Tue, 4 Oct 2016 02:29:22 +0000 (02:29 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."
am: 1ba0e27462

Change-Id: I1804304cd3f1c9e584448f2fe6b1e7f6e03eb46b

8 years agoMerge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."
Elliott Hughes [Tue, 4 Oct 2016 02:25:03 +0000 (02:25 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."

8 years agoAdd missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c.
Elliott Hughes [Mon, 3 Oct 2016 23:46:33 +0000 (16:46 -0700)]
Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c.

Follow-on change from http://b/31848040.

Test: *time* tests.
Change-Id: I3f1c9ce19b90f6f8c1ac6e0753e3fed0ff63c0b4

8 years agoMerge "Fix tzdata loading." am: 0bee605aab am: 00a37e58e2 am: fb88cbf674
Elliott Hughes [Mon, 3 Oct 2016 23:44:41 +0000 (23:44 +0000)]
Merge "Fix tzdata loading." am: 0bee605aab am: 00a37e58e2 am: fb88cbf674
am: 6bf4e59b12

Change-Id: I6063ea490246b27dd79be31fd3c236393988441a

8 years agoMerge "Fix tzdata loading." am: 0bee605aab am: 00a37e58e2
Elliott Hughes [Mon, 3 Oct 2016 23:43:14 +0000 (23:43 +0000)]
Merge "Fix tzdata loading." am: 0bee605aab am: 00a37e58e2
am: fb88cbf674

Change-Id: I6196a37b9ee359ad04a61a0252d104e2b37bf0d9

8 years agoMerge "Fix tzdata loading." am: 0bee605aab
Elliott Hughes [Mon, 3 Oct 2016 23:39:40 +0000 (23:39 +0000)]
Merge "Fix tzdata loading." am: 0bee605aab
am: 00a37e58e2

Change-Id: I11c5253bb95f2485788ec9f522dba9763089c686

8 years agoFix tzdata loading.
Elliott Hughes [Mon, 3 Oct 2016 19:29:30 +0000 (12:29 -0700)]
Fix tzdata loading.

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.

(cherry picked from commit 81c46fc10fa60fd341f11024d8d3f26ff2c69082)

Bug: http://b/31848040
Test: time.strftime_null_tm_zone
Change-Id: Iee059b5a8c051bd4952cfd80f02b00d83e489d5e

8 years agoMerge "Fix tzdata loading."
Elliott Hughes [Mon, 3 Oct 2016 23:37:10 +0000 (23:37 +0000)]
Merge "Fix tzdata loading."
am: 0bee605aab

Change-Id: Idbce9d8d5bb1c3898da67415da913f8d2620d761

8 years agoMerge "Fix tzdata loading."
Elliott Hughes [Mon, 3 Oct 2016 23:35:34 +0000 (23:35 +0000)]
Merge "Fix tzdata loading."

8 years agoFix tzdata loading.
Elliott Hughes [Mon, 3 Oct 2016 19:29:30 +0000 (12:29 -0700)]
Fix tzdata loading.

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

8 years agoMerge "Update timezone data to 2016g." am: d609630799 am: 7a608a8876 am: d3181bc527
Joachim Sauer [Mon, 3 Oct 2016 10:51:31 +0000 (10:51 +0000)]
Merge "Update timezone data to 2016g." am: d609630799 am: 7a608a8876 am: d3181bc527
am: b0ed647992

Change-Id: I402bd189baa1a2aea699278e5f1ff8e350cefdd7

8 years agoMerge "Update timezone data to 2016g." am: d609630799 am: 7a608a8876
Joachim Sauer [Mon, 3 Oct 2016 10:48:03 +0000 (10:48 +0000)]
Merge "Update timezone data to 2016g." am: d609630799 am: 7a608a8876
am: d3181bc527

Change-Id: I1f03881521b9e651ba62ce8169d3fc13a81494f3

8 years agoMerge "Update timezone data to 2016g." am: d609630799
Joachim Sauer [Mon, 3 Oct 2016 10:44:01 +0000 (10:44 +0000)]
Merge "Update timezone data to 2016g." am: d609630799
am: 7a608a8876

Change-Id: I59f3d095809bd36d7df25323b94f9a85e9f0fdea

8 years agoMerge "Update timezone data to 2016g."
Joachim Sauer [Mon, 3 Oct 2016 10:40:30 +0000 (10:40 +0000)]
Merge "Update timezone data to 2016g."
am: d609630799

Change-Id: Ia3f68e65f624859dde08cee5f563ff5ce9863296

8 years agoMerge "Update timezone data to 2016g."
Joachim Sauer [Mon, 3 Oct 2016 10:34:43 +0000 (10:34 +0000)]
Merge "Update timezone data to 2016g."

8 years agoMerge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203 am: b11335cf6c am: ec198c17f7
Elliott Hughes [Fri, 30 Sep 2016 15:58:10 +0000 (15:58 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203 am: b11335cf6c am: ec198c17f7
am: 2d9fe94b92

Change-Id: I22aac64341ee8df6b7b5ae9682f9acc9a90d8c4e

8 years agoMerge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae am: f8cafd1ade am: 9c948d555d
Elliott Hughes [Fri, 30 Sep 2016 15:57:56 +0000 (15:57 +0000)]
Merge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae am: f8cafd1ade am: 9c948d555d
am: 3276d7ae3f

Change-Id: Ia859a933eeb4abd48e78d59111a66717160e00cb

8 years agoMerge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203 am: b11335cf6c
Elliott Hughes [Fri, 30 Sep 2016 15:54:09 +0000 (15:54 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203 am: b11335cf6c
am: ec198c17f7

Change-Id: I6e4c3dbe04ac929aabad0abe74830879c48b28fa

8 years agoMerge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae am: f8cafd1ade
Elliott Hughes [Fri, 30 Sep 2016 15:53:57 +0000 (15:53 +0000)]
Merge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae am: f8cafd1ade
am: 9c948d555d

Change-Id: I83a41930cbc297b9acf273cca7daac20d5b68ac0

8 years agoUpdate timezone data to 2016g.
Joachim Sauer [Fri, 30 Sep 2016 15:36:51 +0000 (16:36 +0100)]
Update timezone data to 2016g.

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

8 years agoMerge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203
Elliott Hughes [Fri, 30 Sep 2016 15:48:37 +0000 (15:48 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null." am: b81ade6203
am: b11335cf6c

Change-Id: I6881ec030ce00a879938af9045a1c9b4c43c1534

8 years agoMerge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae
Elliott Hughes [Fri, 30 Sep 2016 15:48:27 +0000 (15:48 +0000)]
Merge "Fix tests/run-on-host.sh for glibc." am: d43c8891ae
am: f8cafd1ade

Change-Id: Ifda9f3e9293fca337e4b202d89d7b5f118c945ff

8 years agoMerge "Fix mbsnrtowcs where `dst` is null."
Elliott Hughes [Fri, 30 Sep 2016 15:46:08 +0000 (15:46 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null."
am: b81ade6203

Change-Id: I8a776e78905a0445bc51b99f194dbf90fdc7fca4

8 years agoMerge "Fix tests/run-on-host.sh for glibc."
Elliott Hughes [Fri, 30 Sep 2016 15:45:56 +0000 (15:45 +0000)]
Merge "Fix tests/run-on-host.sh for glibc."
am: d43c8891ae

Change-Id: Ic2f0d40fd4d88ae1293d0ae71eb3512b3f097fec

8 years agoMerge "Fix mbsnrtowcs where `dst` is null."
Elliott Hughes [Fri, 30 Sep 2016 15:41:40 +0000 (15:41 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null."

8 years agoMerge "Fix tests/run-on-host.sh for glibc."
Elliott Hughes [Fri, 30 Sep 2016 15:37:48 +0000 (15:37 +0000)]
Merge "Fix tests/run-on-host.sh for glibc."

8 years agoMerge "Update escaping in Android.bp files" am: 83e9f36a11 am: ffddaa224f am: 6fac759338
Colin Cross [Fri, 30 Sep 2016 04:32:31 +0000 (04:32 +0000)]
Merge "Update escaping in Android.bp files" am: 83e9f36a11 am: ffddaa224f am: 6fac759338
am: 9510ee8453

Change-Id: I261d7bdea38f616aa7e39ec70aa0763a80301477

8 years agoMerge "Update escaping in Android.bp files" am: 83e9f36a11 am: ffddaa224f
Colin Cross [Fri, 30 Sep 2016 04:26:51 +0000 (04:26 +0000)]
Merge "Update escaping in Android.bp files" am: 83e9f36a11 am: ffddaa224f
am: 6fac759338

Change-Id: Iec71672602f38aa32a6cb02a56eff880b9fc152c

8 years agoMerge "Update escaping in Android.bp files" am: 83e9f36a11
Colin Cross [Fri, 30 Sep 2016 04:24:21 +0000 (04:24 +0000)]
Merge "Update escaping in Android.bp files" am: 83e9f36a11
am: ffddaa224f

Change-Id: I6bf5ed1c42c5fc2c0db50707bd7c220fb69d3a6c

8 years agoMerge "Update escaping in Android.bp files"
Colin Cross [Fri, 30 Sep 2016 04:21:20 +0000 (04:21 +0000)]
Merge "Update escaping in Android.bp files"
am: 83e9f36a11

Change-Id: Iab609c724e4e59777d79d6c7db10adf6069b37eb

8 years agoMerge "Update escaping in Android.bp files"
Treehugger Robot [Fri, 30 Sep 2016 04:17:57 +0000 (04:17 +0000)]
Merge "Update escaping in Android.bp files"

8 years agoFix mbsnrtowcs where `dst` is null.
Elliott Hughes [Fri, 30 Sep 2016 00:21:43 +0000 (17:21 -0700)]
Fix mbsnrtowcs where `dst` is null.

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

8 years agoFix tests/run-on-host.sh for glibc.
Elliott Hughes [Fri, 30 Sep 2016 00:17:15 +0000 (17:17 -0700)]
Fix tests/run-on-host.sh for glibc.

Test: tests/run-on-host.sh glibc
Change-Id: Idd5b2a72335ff0ca47f37c578f71cec8c9fb6ea0

8 years agoUpdate escaping in Android.bp files
Colin Cross [Thu, 29 Sep 2016 21:08:13 +0000 (14:08 -0700)]
Update escaping in Android.bp files

Strings like cflags in Android.bp files are parsed by blueprint,
written to build.ninja files, parsed by ninja, and then passed to
/bin/sh -c.  This had resulted in a combination of blueprint
(\"), ninja ($$), and shell (\$) escaping being necessary.

Soong has been updated to automatically handle ninja and shell
escaping, remove extra escaping from Android.bp files.

Bug: 31221587
Test: m -j
Change-Id: Ib58a51dee8d22296b69ec21768ba6a49dd60e980

8 years agoMerge "Update documentation." am: cc9e9933e1 am: 9131d36605 am: 7fe0433d63
Christopher Ferris [Thu, 29 Sep 2016 17:55:49 +0000 (17:55 +0000)]
Merge "Update documentation." am: cc9e9933e1 am: 9131d36605 am: 7fe0433d63
am: 3087db752c

Change-Id: If5e39879e4e572900add6b2b2b3aa4ee72aedbff

8 years agoMerge "Update documentation." am: cc9e9933e1 am: 9131d36605
Christopher Ferris [Thu, 29 Sep 2016 17:50:51 +0000 (17:50 +0000)]
Merge "Update documentation." am: cc9e9933e1 am: 9131d36605
am: 7fe0433d63

Change-Id: Iaee0af7f43c80372cf3903644b77cceff313e8ab

8 years agoMerge "Update documentation." am: cc9e9933e1
Christopher Ferris [Thu, 29 Sep 2016 17:41:48 +0000 (17:41 +0000)]
Merge "Update documentation." am: cc9e9933e1
am: 9131d36605

Change-Id: I9b6b40834a6284b449682d06d948aaeab76fd50c

8 years agoMerge "Update documentation."
Christopher Ferris [Thu, 29 Sep 2016 17:37:18 +0000 (17:37 +0000)]
Merge "Update documentation."
am: cc9e9933e1

Change-Id: Idea96ab292c60ea5756e6cef0d9748476bb7bb7c

8 years agoMerge "Update documentation."
Christopher Ferris [Thu, 29 Sep 2016 17:28:39 +0000 (17:28 +0000)]
Merge "Update documentation."

8 years agoMerge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873 am: bffbbf0a75 am...
Elliott Hughes [Thu, 29 Sep 2016 16:10:44 +0000 (16:10 +0000)]
Merge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873 am: bffbbf0a75 am: 7620dd501a
am: 45277ea5c2

Change-Id: I7ad0a0c8a2d42284501a93c68086b3a059d2cb87

8 years agoMerge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873 am: bffbbf0a75
Elliott Hughes [Thu, 29 Sep 2016 16:06:16 +0000 (16:06 +0000)]
Merge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873 am: bffbbf0a75
am: 7620dd501a

Change-Id: I062e0b7b3f6d7a81134401845c229f40e47a91cd

8 years agoMerge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873
Elliott Hughes [Thu, 29 Sep 2016 16:01:42 +0000 (16:01 +0000)]
Merge "Rename __pure, __pure2, and __purefunc." am: 6a5f7f5873
am: bffbbf0a75

Change-Id: I2eae4fa24537bf2ffe671401f52c6b7d639f452d

8 years agoMerge "Rename __pure, __pure2, and __purefunc."
Elliott Hughes [Thu, 29 Sep 2016 15:57:12 +0000 (15:57 +0000)]
Merge "Rename __pure, __pure2, and __purefunc."
am: 6a5f7f5873

Change-Id: I9da60e53ca868cbf0b8916e5c5f235b894e2637c

8 years agoMerge "Rename __pure, __pure2, and __purefunc."
Elliott Hughes [Thu, 29 Sep 2016 15:49:08 +0000 (15:49 +0000)]
Merge "Rename __pure, __pure2, and __purefunc."

8 years agoUpdate documentation.
Christopher Ferris [Wed, 28 Sep 2016 21:51:12 +0000 (14:51 -0700)]
Update documentation.

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

8 years agoRename __pure, __pure2, and __purefunc.
Elliott Hughes [Wed, 28 Sep 2016 19:29:52 +0000 (12:29 -0700)]
Rename __pure, __pure2, and __purefunc.

These names were pretty misleading (aka "backwards"), so switch to the
same obvious names glibc uses.

Test: build.
Change-Id: Ia98c9dbbccd0820386116562347654e84669034a

8 years agoMerge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c am: b3fb4102af am: 3ec76edc5b
Josh Gao [Mon, 26 Sep 2016 22:13:36 +0000 (22:13 +0000)]
Merge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c am: b3fb4102af am: 3ec76edc5b
am: b0659a25ef

Change-Id: Ie915eb077ba1a969600909bb71cec0776b6bcc35

8 years agoFix warnings (and errors) in static inline headers. am: 6cd9fb080c am: 1ebfdede9c...
Josh Gao [Mon, 26 Sep 2016 22:13:30 +0000 (22:13 +0000)]
Fix warnings (and errors) in static inline headers. am: 6cd9fb080c am: 1ebfdede9c am: 9193c97e40
am: b60e626347

Change-Id: If5c25aea0c82f121d46070d13d7a27a596313025

8 years agoAdd versioner to preupload hook. am: 0173379610 am: 2a45c836c9 am: 370c2bfc07
Josh Gao [Mon, 26 Sep 2016 22:13:23 +0000 (22:13 +0000)]
Add versioner to preupload hook. am: 0173379610 am: 2a45c836c9 am: 370c2bfc07
am: 4df2df68b7

Change-Id: I9510305ec478e084e8c18ac0888773d1f185100e

8 years agoMerge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c am: b3fb4102af
Josh Gao [Mon, 26 Sep 2016 22:07:37 +0000 (22:07 +0000)]
Merge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c am: b3fb4102af
am: 3ec76edc5b

Change-Id: Ia6e660848aa2ece432f7fd43ec0bc09d61c1b663

8 years agoFix warnings (and errors) in static inline headers. am: 6cd9fb080c am: 1ebfdede9c
Josh Gao [Mon, 26 Sep 2016 22:07:34 +0000 (22:07 +0000)]
Fix warnings (and errors) in static inline headers. am: 6cd9fb080c am: 1ebfdede9c
am: 9193c97e40

Change-Id: I09ec6a56062ae8a1e9f774118e85060ca225d80a

8 years agoAdd versioner to preupload hook. am: 0173379610 am: 2a45c836c9
Josh Gao [Mon, 26 Sep 2016 22:07:30 +0000 (22:07 +0000)]
Add versioner to preupload hook. am: 0173379610 am: 2a45c836c9
am: 370c2bfc07

Change-Id: Id57a310aa4a1eb0138af9167f2bb81f0ff94274f

8 years agoMerge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c
Josh Gao [Mon, 26 Sep 2016 22:05:03 +0000 (22:05 +0000)]
Merge changes Idcbc544e,Ic7cfad1c am: 1d20532f5c
am: b3fb4102af

Change-Id: I419cda979fd78642c3c2b94b146af51efffa31d3

8 years agoFix warnings (and errors) in static inline headers. am: 6cd9fb080c
Josh Gao [Mon, 26 Sep 2016 22:05:00 +0000 (22:05 +0000)]
Fix warnings (and errors) in static inline headers. am: 6cd9fb080c
am: 1ebfdede9c

Change-Id: I59fe1f01e293ddf4958ef46ba0c2e98973869ebd

8 years agoAdd versioner to preupload hook. am: 0173379610
Josh Gao [Mon, 26 Sep 2016 22:04:57 +0000 (22:04 +0000)]
Add versioner to preupload hook. am: 0173379610
am: 2a45c836c9

Change-Id: I00fae57e7daa79a7fb481f3ff629a4980fccaf11

8 years agoMerge changes Idcbc544e,Ic7cfad1c
Josh Gao [Mon, 26 Sep 2016 22:03:05 +0000 (22:03 +0000)]
Merge changes Idcbc544e,Ic7cfad1c
am: 1d20532f5c

Change-Id: I5c0c2cfc2526902183bec5c894f1fca9eb0c841c

8 years agoFix warnings (and errors) in static inline headers.
Josh Gao [Mon, 26 Sep 2016 22:03:04 +0000 (22:03 +0000)]
Fix warnings (and errors) in static inline headers.
am: 6cd9fb080c

Change-Id: I1bd31615a52c78b06461553ed70b7defc46dedf8

8 years agoAdd versioner to preupload hook.
Josh Gao [Mon, 26 Sep 2016 22:03:00 +0000 (22:03 +0000)]
Add versioner to preupload hook.
am: 0173379610

Change-Id: Iaa64a1dfcb4b12d65d99ed58e848366254bd8431

8 years agoMerge changes Idcbc544e,Ic7cfad1c
Josh Gao [Mon, 26 Sep 2016 21:53:01 +0000 (21:53 +0000)]
Merge changes Idcbc544e,Ic7cfad1c

* changes:
  Fix warnings (and errors) in static inline headers.
  Add versioner to preupload hook.

8 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c am...
Elliott Hughes [Mon, 26 Sep 2016 18:52:53 +0000 (18:52 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c am: 1692a4d2bc am: 43aa53bd2f
am: d6d868f116

Change-Id: Ic828191699c1840c046adb1c76e83ade0fec6ea9

8 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c am...
Elliott Hughes [Mon, 26 Sep 2016 18:43:46 +0000 (18:43 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c am: 1692a4d2bc
am: 43aa53bd2f

Change-Id: Ib2df9b109833f697c6e1b8ab1aa9d1e01fc4b4f3

8 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c
Elliott Hughes [Mon, 26 Sep 2016 18:41:43 +0000 (18:41 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c
am: 1692a4d2bc

Change-Id: I4406e650bd97fcd0346025a268e7f72f3a820521

8 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test."
Elliott Hughes [Mon, 26 Sep 2016 18:39:12 +0000 (18:39 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."
am: 424a5f629c

Change-Id: I357f244cd94b34c8cea507e290b69a8e028d3707

8 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test."
Treehugger Robot [Mon, 26 Sep 2016 18:34:55 +0000 (18:34 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."

8 years agoFix complex.csqrtf test and add a trivial sincosl test.
Elliott Hughes [Mon, 26 Sep 2016 16:35:04 +0000 (09:35 -0700)]
Fix complex.csqrtf test and add a trivial sincosl test.

sincos and sincosf are being tested more thoroughly with a table of data,
but there's nothing equivalent for sincosl.

Test: ran the tests, obviously.
Change-Id: I5b4b22b73cad9b0030549de2e2ed2a0e38648806