[bug #66672] [long-term] migrate to standard ISO C99/C++98/POSIX facilities

"G. Branden Robinson" <[email protected]> Sun, 12 Jul 2026 09:42:50 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Follow-up Comment #11, bug #66672 (group groff):


commit 0d170ef062831b481e7f023197f3f86a719f2fd0
Author: G. Branden Robinson <[email protected]>
Date:   Sat Jul 4 18:54:35 2026 -0500

    [grn]: Boolify.
    
    * src/preproc/grn/gprint.h: Delete `TRUE` and `FALSE` preprocessor
      macros.
    
    * src/preproc/grn/hdb.cpp:
    * src/preproc/grn/main.cpp: Preprocessor-include "<stdbool.h>",
      admittedly redundantly, to mark this file as reviewed for use of a
      standard Boolean type.
    
    * src/preproc/grn/hdb.cpp: Demote external symbols `SUNFILE` and
      `compatibility_flag` from `int` to `bool`.
    
      (DBRead): Demote local variables `done` and `last` from `int` to
      `bool`.  Assign to `bool` objects using Boolean literals.
    
    * src/preproc/grn/main.cpp: Demote global symbols `defpoint`,
      `pointscale`, `setdefault`, and `sflag` from `int` to `bool`.
      Initialize `bool` objects using Boolean literals.  Declare
      `has_polygon()` as returning `bool`, not `int`.
    
      (main): Assign to `bool` objects using Boolean literals.
    
      (has_polygon): Demote return type from `int` to `bool`.
    
    Continues the long process of fixing Savannah #66672.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66672>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalOZ2gAKCRCqLAuaBUf3
TmNqAP4/kZXYAexRp1rl+GTJEJdywboY4pRBiBBzdQL/pMjLXAEAgFRZgaGqlgfE
zjiCiUsM2yv/8bmshXnANi017XZrsgY=
=UKYB
-----END PGP SIGNATURE-----