Re: [PATCH 2/3] libselinux: Fix line wrapping in selabel_file.5

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

 



On Mon, May 28, 2018 at 11:46 PM, Laurent Bigonville <bigon@xxxxxxxxxx> wrote:
> From: Laurent Bigonville <bigon@xxxxxxxx>
>
> Fix line wrapping with limited to 80 columns
>
> Fix lintian error:
> W: selinux-utils: manpage-has-errors-from-man usr/share/man/man5/selabel_file.5.gz 104: warning [p 2, 10.0i]: cannot adjust line
>
> Signed-off-by: Laurent Bigonville <bigon@xxxxxxxx>
> ---
>  libselinux/man/man5/selabel_file.5 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libselinux/man/man5/selabel_file.5 b/libselinux/man/man5/selabel_file.5
> index e7388242..e97bd826 100644
> --- a/libselinux/man/man5/selabel_file.5
> +++ b/libselinux/man/man5/selabel_file.5
> @@ -92,7 +92,7 @@ The optional local and distribution substitution files that perform any path ali
>  .RE
>  .sp
>  The default file context series of files are:
> -.RS
> +.RS 6
>  .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts
>  .br
>  .I  /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.local
> --
> 2.17.0

All the manpage patches look good to me (and I give them an ack).

For information, I didn't know what the default indent value of ".RS"
[1] is and it seems to be 8. I tested running "man ./selabel_file.5"
in a 80-char-wide terminal and the line
"/etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.subs_dist" is
no longer cut after this patch.

Thanks,
Nicolas

[1] For those who are unfamiliar with manpage code, this instruction
increases the indent by moving the left margin to the right.


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux