Update of bug #67757 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #5:
commit ae47a154ae7d4ad403ee1590a0a7f3c94293cf25
Author: G. Branden Robinson <[email protected]>
Date: Sun Dec 7 10:28:57 2025 -0600
tmac/ja.tmac: Fix Savannah #67757 (1/2).
* tmac/ja.tmac: Correct apparently mistaken character flags for
`[CJKpostpunct]` class from "266" to "256". A typo introduced two
spurious flags (2 and 8).
Fixes <https://savannah.gnu.org/bugs/?67757>. Problem appears to date
back to commit 1cb8dd7bde, 13 December 2010. Thanks to Colin Watson for
suggesting a regression test procedure.
Procedure:
$ zcat $(find /usr/share/man/ja -type f -and -not -type l | sort \
| sed '/\/ps\.1\.gz/,$d') >| JAPANESE-MAN-CORPUS.man
$ time ./build/test-groff -kt -man -T utf8 JAPANESE-MAN-CORPUS.man \
> | JAPANESE-MAN-CORPUS-OUT-1.txt 2>| JAPANESE-MAN-CORPUS-ERR-1.txt
[patch tmac/ja.tmac]
$ time ./build/test-groff -kt -man -T utf8 JAPANESE-MAN-CORPUS.man \
> | JAPANESE-MAN-CORPUS-OUT-2.txt 2>| JAPANESE-MAN-CORPUS-ERR-2.txt
$ cksum JAPANESE-MAN-CORPUS*
438660530 766502 JAPANESE-MAN-CORPUS-ERR-1.txt
438660530 766502 JAPANESE-MAN-CORPUS-ERR-2.txt
438660530 766502 JAPANESE-MAN-CORPUS-ERR1.txt
2457258792 4084846 JAPANESE-MAN-CORPUS-OUT-1.txt
2457258792 4084846 JAPANESE-MAN-CORPUS-OUT-2.txt
2457258792 4084846 JAPANESE-MAN-CORPUS-OUT1.txt
3688068087 3652129 JAPANESE-MAN-CORPUS.man
(Why stop at ps(1)? Because the formatter aborts due to input stack
exhaustion on that page [but not when formatted in isolation], which
appears to structurally be in the same shape it was 25 years ago, when
its English counterpart was The Worst Man Page Ever...
https://gitlab.com/procps-ng/procps/blob/7ac9a0e1f5606696dc799b773d5ec70183ca91a3/ps/ps.1
...and because a 3.5 megabyte sample of man(7) sources seemed "enough".)
commit 4814b11ea339979a64e7c16f83b9bcfabb9d9034
Author: G. Branden Robinson <[email protected]>
Date: Sun Dec 7 10:33:03 2025 -0600
tmac/zh.tmac: Fix Savannah #67757 (2/2).
* tmac/zh.tmac: Correct apparently mistaken character flags for
`[CJKpostpunct]` class from "266" to "256". A typo introduced two
spurious flags (2 and 8).
Fixes <https://savannah.gnu.org/bugs/?67757>. Problem appears to date
back to commit 1cb8dd7bde, 13 December 2010. Thanks to Colin Watson for
suggesting a regression test procedure.
Procedure:
$ zcat $(find /usr/share/man/ja -type f -and -not -type l | sort \
| sed '/\/ps\.1\.gz/,$d') >| CHINESE-MAN-CORPUS.man
$ time ./build/test-groff -kt -man -T utf8 CHINESE-MAN-CORPUS.man \
> | CHINESE-MAN-CORPUS-OUT-1.txt 2>| CHINESE-MAN-CORPUS-ERR-1.txt
[patch tmac/zh.tmac]
$ time ./build/test-groff -kt -man -T utf8 CHINESE-MAN-CORPUS.man \
> | CHINESE-MAN-CORPUS-OUT-2.txt 2>| CHINESE-MAN-CORPUS-ERR-2.txt
$ cksum CHINESE-MAN-CORPUS*
3924545915 758981 CHINESE-MAN-CORPUS-ERR-1.txt
3924545915 758981 CHINESE-MAN-CORPUS-ERR-2.txt
2457258792 4084846 CHINESE-MAN-CORPUS-OUT-1.txt
2457258792 4084846 CHINESE-MAN-CORPUS-OUT-2.txt
3688068087 3652129 CHINESE-MAN-CORPUS.man
(See previous commit for why I stopped the sample at ps(1).)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67757>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
