Re: fix minor problems in checkpatch.pl-next

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike D. Day
Date: Thursday, October 11, 2007 - 8:57 am

On 11/10/07 15:32 +0100, Andy Whitcroft wrote:

Here is the message in my compile window as it is displayed by -next:

ARGV:148: ERROR: need a space before the open parenthesis '('
#148: FILE: home/mdday/src/slp-devel/src/cmd-utils/lslp-linux.c:145:
+  if(dieNow)

The filename is reported as ARGV and the line number is reported as
148. These should be FILE: #line:FILE: \basename\filename:line: 

Also, the line number is reported differently. The correct line number
is reported at the end of the second line.

I tested these patches with both sources and patches, from bash and from emacs and they seem to work ok.


Mike




-- 
Mike D. Day
IBM LTC
Cell: 919 412-3900
Sametime: ncmike@us.ibm.com AIM: ncmikeday  Yahoo: ultra.runner
PGP key: http://www.ncultra.org/ncmike/pubkey.asc
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix minor problems in checkpatch.pl-next, Mike D. Day, (Thu Oct 11, 5:28 am)
Re: [PATCH] fix minor problems in checkpatch.pl-next, Andy Whitcroft, (Thu Oct 11, 7:32 am)
Re: fix minor problems in checkpatch.pl-next, Mike D. Day, (Thu Oct 11, 8:57 am)