[PATCH v1 0/3] Use streq(3) and memeq(3) instead of their pattern

Alejandro Colomar <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
Hi Branden,

I see you're using gnulib-202601.  This makes you lucky, because you can
now use this pair of shiny new functions.  :-)

The patches are trivial, so you may want to include them in the
incoming release; or maybe not.

I've successfully built groff with these patches.


Have a lovely night!
Alex


Alejandro Colomar (3):
  bootstrap.conf (gnulib_modules): Add stringeq.
  Use streq() instead of its pattern
  Use memeq() instead of its pattern

 bootstrap.conf                    |   1 +
 src/devices/grodvi/dvi.cpp        |   6 +-
 src/devices/grohtml/html-text.cpp |   2 +-
 src/devices/grohtml/post-html.cpp | 118 +++++++++++++++---------------
 src/devices/grolbp/lbp.cpp        |   4 +-
 src/devices/grolj4/lj4.cpp        |   4 +-
 src/devices/grops/ps.cpp          |   8 +-
 src/devices/grops/psrm.cpp        |   8 +-
 src/devices/grotty/tty.cpp        |   4 +-
 src/devices/xditview/Dvi.c        |   2 +-
 src/devices/xditview/device.c     |  26 +++----
 src/devices/xditview/font.c       |   7 +-
 src/devices/xditview/xditview.c   |  16 ++--
 src/include/nonposix.h            |   2 +-
 src/include/ptable.h              |   8 +-
 src/include/stringclass.h         |   8 +-
 src/libs/libbib/index.cpp         |   2 +-
 src/libs/libbib/search.cpp        |   4 +-
 src/libs/libdriver/input.cpp      |   8 +-
 src/libs/libdriver/printer.cpp    |   4 +-
 src/libs/libgroff/change_lf.cpp   |   2 +-
 src/libs/libgroff/error.cpp       |   2 +-
 src/libs/libgroff/font.cpp        |  84 ++++++++++-----------
 src/libs/libgroff/localcharset.c  |   7 +-
 src/libs/libgroff/searchpath.cpp  |   2 +-
 src/libs/libgroff/symbol.cpp      |   4 +-
 src/libs/libgroff/tmpname.cpp     |   2 +-
 src/libs/libxutil/DviChar.c       |   6 +-
 src/libs/libxutil/XFontName.c     |   2 +-
 src/preproc/eqn/box.cpp           |   6 +-
 src/preproc/eqn/main.cpp          |   8 +-
 src/preproc/eqn/text.cpp          |   6 +-
 src/preproc/grn/hdb.cpp           |   6 +-
 src/preproc/grn/main.cpp          |  10 +--
 src/preproc/html/pre-html.cpp     |  17 ++---
 src/preproc/html/pushback.cpp     |   2 +-
 src/preproc/pic/lex.cpp           |   2 +-
 src/preproc/pic/main.cpp          |   4 +-
 src/preproc/pic/pic.ypp           |  10 +--
 src/preproc/pic/troff.cpp         |   2 +-
 src/preproc/preconv/preconv.cpp   |   8 +-
 src/preproc/refer/command.cpp     |   4 +-
 src/preproc/refer/label.ypp       |  14 ++--
 src/preproc/refer/ref.cpp         |   4 +-
 src/preproc/refer/refer.cpp       |  12 +--
 src/preproc/refer/token.cpp       |   4 +-
 src/preproc/soelim/soelim.cpp     |   2 +-
 src/preproc/tbl/table.cpp         |   2 +-
 src/roff/groff/groff.cpp          |  19 +++--
 src/roff/troff/input.cpp          |  62 ++++++++--------
 src/utils/addftinfo/addftinfo.cpp |   6 +-
 src/utils/hpftodit/hpftodit.cpp   |  21 +++---
 src/utils/indxbib/indxbib.cpp     |   8 +-
 src/utils/tfmtodit/tfmtodit.cpp   |   6 +-
 src/utils/xtotroff/xtotroff.c     |   4 +-
 55 files changed, 296 insertions(+), 306 deletions(-)

Range-diff against v0:
-:  ------------ > 1:  53a12b76c608 bootstrap.conf (gnulib_modules): Add stringeq.
-:  ------------ > 2:  3a0e63e2e8ec Use streq() instead of its pattern
-:  ------------ > 3:  682f6c9f7e48 Use memeq() instead of its pattern

base-commit: d4e244ecb389a854f7aa679124a473af1f263008
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.