On 11/24/14 06:51, Mantas Mikaitis wrote:
check_GNU_style.sh error "Lines should not exceed 80 characters" does
not return the file name and line number where error is present,
only the line of code. Whereas other kind of errors return full
information.

This small patch will fix this and make check_GNU_style.sh return full
information when patch contains lines longer than 80 errors.

Tested on patches containing >80 chars lines and the script produces
full information as necessary.

Would this be a useful enhancement for trunk?

Mantas Mikaitis

gcc/ChangeLog:

          * contrib/check_GNU_style.sh (col): Got rid of cut operation
            from the pipe chain and instead added cut inside awk command.
Yes.  Please install on the trunk.

Thanks,
Jeff

Reply via email to