bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android NDK r26 and utmpx


From: Po Lu
Subject: Re: Android NDK r26 and utmpx
Date: Sun, 21 Jan 2024 13:11:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Paul Eggert <eggert@cs.ucla.edu> writes:

> On 2024-01-20 19:38, Po Lu wrote:
>> the problem affects the boot-time module rather than
>> readutmp, which Emacs doesn't import.  And in the words of Bruno, a
>> functional utmp(x) might appear in Android someday, which binaries
>> compiled today should take advantage of wherever available.
>
> Oh, I see I was barking up the wrong tree.  How about the attached
> patch instead? Again, it's not installed into Gnulib and is not tested
> on Android.

I haven't tested this yet, but something tells me that the proper course
of action is to guarantee that the code which worked under NDK r25 is
enabled under r26, in the sense of falling back to the HAVE_UTMP_H
conditional (in readutmp.h) if functions inside utmpx.h can't be linked
against.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]