Paul Eggert <egg...@cs.ucla.edu> writes: > On 6/30/24 13:14, Po Lu wrote: >> I think there should be a trivial test for a functional strnlen in >> strnlen.m4, since it would be terrible to duplicate what ought to be the >> responsibility of Gnulib in Emacs's configure.ac. > > Here's a first cut at doing that, as a patch to Emacs master that I > have not installed. Could you please give it a try? If it works I can > migrate it into Gnulib and Autoconf.
It appears to work as intended. Thanks.