gbranden pushed a commit to branch master
in repository groff.

commit 7a9b76a52df9f2b707658f99654cfabd6b16048e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Aug 30 05:21:33 2025 -0500

    src/roff/troff/node.cpp: Work around internal bug.
    
    * src/roff/troff/node.cpp (real_output_file::off): Comment out assertion
      that fails when attempting to format our "ms.ms" document for HTML.
    
    Discovered while looking into Savannah #66653.
---
 ChangeLog               | 8 ++++++++
 src/roff/troff/node.cpp | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 89e071e62..3ba465121 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-08-30  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/node.cpp (real_output_file::off): Work around
+       internal bug.  Comment out assertion that fails when attempting
+       to format our "ms.ms" document for HTML.
+
+       Discovered while looking into Savannah #66653.
+
 2025-08-30  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/node.cpp: Trivially refactor.  `unsigned char`
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 7c7821caf..6f56c84f6 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -1845,7 +1845,8 @@ void real_output_file::on()
 void real_output_file::off()
 {
   really_off();
-  assert(is_output_on);
+  // XXX: Assertion fails when generating ms.html.  Find out why.
+  //assert(is_output_on);
   is_output_on = false;
 }
 

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to