Re: "mbsspn" and "mbschr" missing in some files in /lib/

2024-02-01 Thread Paul Eggert
On 2/1/24 14:55, Bruno Haible wrote: If you want to use the function 'mbsspn', then yes you need to import the corresponding module ('mbsspn') via gnulib-tool. Sure, but in this case Bjarni didn't want to use that module; it was pulled in by a dependency. And as far as I can tell, the diagnost

Re: "mbsspn" and "mbschr" missing in some files in /lib/

2024-02-01 Thread Bruno Haible
Bjarni Ingi Gislason wrote: > CC lib/libgnu_a-chdir-long.o > ../lib/chdir-long.c: In function 'chdir_long': > ../lib/chdir-long.c:129:23: warning: call to 'strspn' declared > with attribute warning: strspn cannot work correctly on character > strings in multibyte locales - use mbsspn if you

"mbsspn" and "mbschr" missing in some files in /lib/

2024-02-01 Thread Bjarni Ingi Gislason
While experimenting using the module "posixcheck" included in "groff" I got these warnings: N.B. Some lines are folded. CC lib/libgnu_a-chdir-long.o ../lib/chdir-long.c: In function 'chdir_long': ../lib/chdir-long.c:129:23: warning: call to 'strspn' declared with attribute warning: str