Hi!

Here's a revision of this patch set.  Now it's fully working: I've
formatted a manual page with it, and all looks good.


Have a lovely day!
Alex

Alejandro Colomar (3):
  gnulib: Update to stable/2025-07.
  bootstrap.conf: Add stdcountof-h to `gnulib_modules`.
  src/: Use countof() instead of a sizeof division

 ChangeLog                         |  4 ++++
 bootstrap.conf                    |  1 +
 gnulib                            |  2 +-
 src/devices/grolbp/lbp.cpp        |  3 ++-
 src/devices/grolj4/lj4.cpp        |  4 ++--
 src/libs/libgroff/font.cpp        |  4 ++--
 src/libs/libgroff/uniglyph.cpp    |  6 +++---
 src/preproc/eqn/delim.cpp         |  9 +++++----
 src/preproc/eqn/lex.cpp           | 10 ++++++----
 src/preproc/eqn/text.cpp          |  6 +++---
 src/preproc/pic/lex.cpp           |  3 ++-
 src/preproc/preconv/preconv.cpp   |  6 +++---
 src/preproc/refer/command.cpp     |  5 +++--
 src/preproc/refer/ref.cpp         |  4 +++-
 src/utils/addftinfo/addftinfo.cpp |  6 +++---
 src/utils/hpftodit/hpftodit.cpp   |  6 +++---
 src/utils/hpftodit/hpuni.cpp      |  6 +++---
 src/utils/tfmtodit/tfmtodit.cpp   |  9 ++++-----
 18 files changed, 53 insertions(+), 41 deletions(-)

Range-diff against v1:
-:  --------- > 1:  9941c3915 gnulib: Update to stable/2025-07.
1:  0887da7bb = 2:  426d2f767 bootstrap.conf: Add stdcountof-h to 
`gnulib_modules`.
2:  beba4b4d5 ! 3:  1826fe8b1 src/: Use countof() instead of a sizeof division
    @@ src/preproc/eqn/text.cpp: struct map entity_table[] = {
     -  for (mp = entity_table; 
     -       mp < entity_table + sizeof(entity_table)/sizeof(entity_table[0]); 
     -       mp++) {
    -+  for (mp = entity_table; mp < entity_table + countof(entity_table)); 
mp++) {
    ++  for (mp = entity_table; mp < entity_table + countof(entity_table); 
mp++) {
          if (strcmp(mp->from, sp) == 0)
            return mp->to;
        }

base-commit: 20d59d263fed685cdf8007910a2aeff3079d3786
-- 
2.50.0


Reply via email to