|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bionic libc does stupid stuff and defines standard streams as macros to
reference of an array element. Thus we can't just point standard streams
to their respective correct addresses. (Why does both glibc and bionic
even expose the internal FILE structs??)
So we have to wrap every function that takes FILE* as argument and
mangle it with bionic_file_to_glibc_file. We can't just check addresses
because gnu's libstdc++ copies the FILE*.
I assume same thing happens with the c++ locale support, and we need to
do more complex ctype wrapping.
|