Re: [PATCH] getdtablesize.2, attr.5: Move .so directive to first line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 24 Mar 2017 15:40:19 +0100 Michael Kerrisk wrote:

> I've applied this. However, could you say more about the
> problem it fixes? (I did not encounter or get any reports of
> problems before, and at least for me, man(1) seems to have
> no problem with the files as they were.)

Hello Michael,

this is a problem with the older man implementation (man 1.6g)
and compressed man pages (man-db is not affected). 
There is no zsoelim(1) in this implementation. Instead, man(1)
has special code to handle redirections which recognizes .so only
in the very first line. With uncompressed man pages it doesn't
matter because groff finds the target page, but when that file
is compresses groff can't find it and the result is an empty
page.

I know that the older man is mostly irrelevant today (and I have
only one installation left for testing), but the fix is trivial,
so I decided to submit it. There may also be other tools with
similar restrictions, although I don't have any examples.

Cheers,
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux