Revision be62a2eb
ID | be62a2ebab29eef7dc66c112d60271890ebbbee2 |
Strip trailing '\n' from error_report()'s first argument (again)
Commit 6daf194d got rid of them, but Hans and Gerd added some more
lately. Tracked down with this Coccinelle semantic patch:
r
expression fmt;
position p;@
error_report(fmt, ...)@p
@script:python
fmt << r.fmt;
p << r.p;
@@
if "\\n" in str(fmt):
print "%s:%s:%s:%s" % (p0.file, p0.line, p0.column, fmt)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted