]> Cypherpunks.ru repositories - gostls13.git/commit
plugin: cast dlerror return value for android
authorDavid Crawshaw <crawshaw@golang.org>
Fri, 16 Sep 2016 19:08:17 +0000 (15:08 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Sat, 17 Sep 2016 13:47:37 +0000 (13:47 +0000)
commit5c0fbf052b8ab98c0a1dd74365912d33572be4f3
tree40bbfb81b35f394cc9182dde39ef7e0716f5d813
parent2e2db7a1704773082db547cbde70d8c0ce36a10c
plugin: cast dlerror return value for android

Until a few weeks ago, bionic, the Andoid libc, incorrectly
returned const char* (instead of char*) from dlerror(3).

https://android.googlesource.com/platform/bionic/+/5e071a18ce88d93fcffaebb9e0f62524ae504908

Change-Id: I30d33240c63a9f35b6c20ca7e3928ad33bc5e33f
Reviewed-on: https://go-review.googlesource.com/29352
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/plugin/plugin_dlopen.go