On 1/18/23 15:23, Bruno Haible wrote:
Defining REPLACE_GLOB=1 despite HAVE_GLOB=0 will be the way to make Gnulib
define 'rpl_glob' instead of 'glob', so that there is no conflict with libc.so.
I still need to work out the details how this would/will work. So as to
do things correctly on Android, while OTOH not adding lots of configure tests
for the other platforms...
Thanks for looking into this.
On Android, should we always define REPLACE_WHATEVER when 'whatever'
doesn't exist, at least for all the REPLACE_WHATEVER instances that
currently exist in Gnulib? After all, 'whatever' might exist in some
future Android version.
Would it make sense to wait until you've worked out the details, before
installing patches like the REPLACE_UTIMENSAT=1 patch?