Re: [PATCH] Add a missing pure attribute

2024-09-14 Thread Bruno Haible
Hi, Samuel Tardieu wrote: > diff --git a/lib/readutmp.c b/lib/readutmp.c > index 0938a094cb..fd84a1e4de 100644 > --- a/lib/readutmp.c > +++ b/lib/readutmp.c > @@ -301,7 +301,7 @@ finish_utmp (struct utmp_alloc a) > > /* Determine whether A already contains an entry of type BOOT_TIME. */ > _GL

[PATCH] Add a missing pure attribute

2024-09-14 Thread Samuel Tardieu
* lib/readutmp.c (have_boot_time): Mark the function with _GL_ATTRIBUTE_PURE. GCC 14.2.0 complains about it missing when compiling GNU coreutils. --- ChangeLog | 5 + lib/readutmp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2b35fe29

[PATCH] Add a missing pure attribute

2024-09-14 Thread Samuel Tardieu
* lib/readutmp.c (have_boot_time): Mark the function with _GL_ATTRIBUTE_PURE. GCC 14.2.0 complains about it missing when compiling GNU coreutils. --- ChangeLog | 5 + lib/readutmp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2b35fe29

unilbrk: Fix bug in implementation of Unicode rule (LB16)

2024-09-14 Thread Bruno Haible
This patch fixes a bug dating back to 2021-12-28. 2024-09-14 Bruno Haible unilbrk: Fix bug in implementation of Unicode rule (LB16). * lib/gen-uni-tables.c (output_lbrk_rules_as_tables): Fix typo. * lib/unilbrk/lbrktables.c: Regenerated. diff --git a/lib/gen-uni-table

Re: uninorm/composition: Make more maintainable

2024-09-14 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > https://www.unicode.org/versions/Unicode16.0.0/#Summary says: > "This data could be used by applications such as input methods or >autocorrect." > Input methods are out-of-scope of Gnulib, because they are specialized > programs / libraries / plugins. Regar

Re: Update to Unicode 16.0.0

2024-09-14 Thread Bruno Haible
Oops, there was another mistake in this patch. Fixed like this: 2024-09-14 Bruno Haible unilbrk: Fix handling of unassigned code points (regression yesterday). * lib/unilbrk/lbrktables.h (unilbrkprop_lookup): Correct the default return value. diff --git a/lib/unilbrk/

Re: uninorm/composition: Make more maintainable

2024-09-14 Thread Bruno Haible
Hi Collin, > Thanks, I was going to look at the new 'DoNotEmit.txt' file added in > Unicode 16.0.0 to see if I could write anything useful with it. https://www.unicode.org/versions/Unicode16.0.0/#Summary says: "This data could be used by applications such as input methods or autocorrect." In