This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] check_GNU_style.sh "80 characters exceeded" error fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]