n-t-roff / heirloom-doctools

The Heirloom Documentation Tools: troff, nroff, and related utilities
http://n-t-roff.github.io/heirloom/doctools.html
Other
126 stars 23 forks source link

refer: Fix a/b/c indices #63

Closed fscoto closed 6 years ago

fscoto commented 6 years ago

refer with .i{a,b,c} indices breaks on x86_64 Linux, where sizeof(long) is greater than sizeof(int). This breaks putl/getl: They use putw/getw internally, which are aliased to putc/getc. putc/getc take int rather than long as the code expects. However, the functions are used by putl/getl for long instead of int.