PATCH: Fix unportabilities in dg-extract-results.sh

Janis Johnson janis187@us.ibm.com
Sat Nov 22 00:22:00 GMT 2008


On Fri, 2008-11-21 at 22:27 +0100, Rainer Orth wrote:
> In the make check output on Solaris 10/x86, I noticed the following errors:
> 
> usage: tail [+/-[n][lbc][f]] [file]
>        tail [+/-[n][l][r|f]] [file]
> 
> This is due to the use of tail -n in contrib/dg-extract-results.sh, which
> isn't portable.  All over the tree, we use tail -<n> instead.
> 
> This patch does this and also fixed a typo (two consecutive || signs).
> 
> Ok for mainline?
> 
> 	Rainer
> 
> -----------------------------------------------------------------------------
> Rainer Orth, Faculty of Technology, Bielefeld University
> 
> 
> Fri Nov 21 22:21:00 2008  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
> 
> 	* dg-extract-results.sh: Don't use tail -n.
> 	Fixed typo.

OK.

Janis



More information about the Gcc-patches mailing list