diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-04-27 21:01:44 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 14:44:19 -0300 |
commit | 76d86663840bb992ca551935413517e058add768 (patch) | |
tree | 1c58069cd158f5719fd7f1b3da7a6e6417726720 /hints/esix4.sh | |
parent | afae46ca68beaadf36a0c96b125c32bc27e5a83b (diff) | |
download | perl-76d86663840bb992ca551935413517e058add768.tar.gz |
Android hints: Detect stub functions and mark them as undefined.
Bionic implements several functions as stumps that simply warn
and return null, which leads to situations like this:
FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
This commit introduces some probes for functions (getnetbyname,
getnetbyaddr, getmntent, getprotobyname, getprotobynumber, endpwent,
ttyname) that we use and are actually stubs in at least some
versions of Android.
If we find a stub, we pretend that the function is undefined, so
the above example becomes this:
Unsupported socket function "getprotobyname" called at -e line 1.
Note that this commit does not fix the modules that assume that
these functions are always available, so 'make test' still fails.
Diffstat (limited to 'hints/esix4.sh')
0 files changed, 0 insertions, 0 deletions