Re: [PATCH 3/3] cthon04: add "nowarn" option to nroff.in tables

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

 



On Thu, 27 Jan 2011 13:49:34 -0500
Steve Dickson <steved@xxxxxxxxxx> wrote:

> From: Jeff Layton <jlayton@xxxxxxxxxx>
> 
> This prevents the tbl preprocessor from stuffing warnings into the
> resulting file, which subsequently can make nroff spew warnings like
> this on stderr:
>     warning: file `nroff.in', around line 47:
> 	  table wider than line width
> 
> Unfortunately, I'm not sure how non-gnu tbl programs will react to
> this option, so YMMV.
> 
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
> ---
>  general/nroff.in |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/general/nroff.in b/general/nroff.in
> index 5722733..ff57200 100644
> --- a/general/nroff.in
> +++ b/general/nroff.in
> @@ -38,12 +38,12 @@ A bubble sort of integers.
>  A prime number generator.
>  .LP
>  .TS
> -center;
> - c|c|c s|
> - c|c|c s|
> - c|c|c s|
> - c|c|c s|
> -|l|n|n|n|.
> +center nowarn;
> + c|c|c s|c s|
> + c|c|c s|c s|
> + c|c|c s|c s|
> + c|c|c s|c s|
> +|l|n|n|n|n|n|.
>  	_	_	_	_	_
>  .sp 4p
>  	Matrix Inversion	Bubble Sort	Prime Numbers

It looks like this patch reverts the change in patch 2?

If patch 2 prevents the warning and the stat.c now skips lines that
it's not looking for, it might be better to just drop this patch since
"nowarn" might cause non-gnu tbl programs to fail.

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux