[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Man-db-devel] [PATCH v3] man(1): Do not roff non-mandoc pages
From: |
Mihail Konev |
Subject: |
Re: [Man-db-devel] [PATCH v3] man(1): Do not roff non-mandoc pages |
Date: |
Sat, 29 Oct 2016 07:56:18 +0500 |
This also looks like a text/binary mode bug.
bzip2 -c -d /usr/share/man/man1/bmake.1.gz | nroff
gives the
NetBSD 5.1 August 15, 2016
NetBSD 5.1
<many newlines here>
ending, which looks like it operated on text with '\r'-s
assuming a binary-only data (should be an ftell() result).
At least, this would be on Windows.
fopen(3) states that 'b' is ignored on POSIX systems.
So nroff cannot be mis-ftell()-ing.
Re: [Man-db-devel] [PATCH v3] man(1): Do not roff non-mandoc pages,
Mihail Konev <=