View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000676 | file | General | public | 2025-07-12 21:45 | 2025-07-12 21:45 |
Reporter | vinc17 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 5.46 | ||||
Summary | 0000676: troff file misidentified as C source | ||||
Description | Man pages (in troff format) containing a C source are misidentified as C source. | ||||
Steps To Reproduce | $ printf ".TH frexp 3 D L\n.SH E\n.SS S\n.EX\n#include <float.h>\n.EE\n" | file - /dev/stdin: C source, ASCII text Without the "#include <float.h>", the issue disappears: $ printf ".TH frexp 3 D L\n.SH E\n.SS S\n.EX\n.EE\n" | file - /dev/stdin: troff or preprocessor input, ASCII text | ||||
Additional Information | The above file (output without the "| file -") is .TH frexp 3 D L .SH E .SS S .EX #include <float.h> .EE I've found this issue with the frexp(3) man page from the Linux man-pages. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-07-12 21:45 | vinc17 | New Issue |