[bug #68420] [troff] assertion failures on impossible {normal, no-break} control character assignments

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Update of bug #68420 (group groff):

                  Status:             In Progress => Fixed
             Open/Closed:                    Open => Closed

    _______________________________________________________

Follow-up Comment #10:


commit 7fc6be97d2a522acbc1767d4f0f530179db1aa9e
Author: G. Branden Robinson <[email protected]>
Date:   Thu Jun 4 07:19:26 2026 -0500

    [groff]: Regression-test Savannah #68420.

    * src/roff/groff/tests/c2-request-does-not-fail-assertion.sh:
    * src/roff/groff/tests/cc-request-does-not-fail-assertion.sh: Do it.

    * src/roff/groff/groff.am (groff_TESTS): Run tests.

    Tests fail at this commit.

commit bbb7f0bf4ec792f34d7afe4612cca4d6ca858380
Author: G. Branden Robinson <[email protected]>
Date:   Thu Jun 4 07:22:34 2026 -0500

    [troff]: Fix Savannah #68420.

    * src/roff/troff/input.cpp (assign_control_character_request)
      (assign_no_break_control_character_request): Fix (further) blunders in
      assert(3) usage.  Spurious assertion failures occurred when user
      attempted to set a control character to one that is already in use as
      the other control character, or the escape character.

    Fixes <https://savannah.gnu.org/bugs/?68420>.  Problem introduced by me
    in commit 20feac542d, 2025-11-23.  Thanks to Martin Simmons for the
    report.

    ANNOUNCE: Acknowledge Martin.




    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaiRV4QAKCRCqLAuaBUf3
TtgsAP4iwG6RvL15RmnfLJwl1Kwxw2KLbXJDN0A4Nj1vQBZoTQD9EaZgZDexjHBr
cYOHBngo8z2aqODSyZ2sWzmxIOyOAAE=
=7nI6
-----END PGP SIGNATURE-----
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.