qemu-e2k/ui
Markus Armbruster 312fd5f290 error: Strip trailing '\n' from error string arguments (again)
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming
back.  Tracked down with this Coccinelle semantic patch:

    @r@
	expression err, eno, cls, fmt;
	position p;
    @@
    (
	error_report(fmt, ...)@p
    |
	error_set(err, cls, fmt, ...)@p
    |
	error_set_errno(err, eno, cls, fmt, ...)@p
    |
	error_setg(err, fmt, ...)@p
    |
	error_setg_errno(err, eno, fmt, ...)@p
    )
    @script:python@
	fmt << r.fmt;
	p << r.p;
    @@
    if "\\n" in str(fmt):
	print "%s:%s:%s:%s" % (p[0].file, p[0].line, p[0].column, fmt)

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1360354939-10994-4-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-11 08:13:19 -06:00
..
cocoa.m cocoa: Replace non-portable asprintf() by g_strdup_printf() 2013-01-31 22:27:00 +01:00
console.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
curses_keys.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
curses.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
cursor_hidden.xpm ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
cursor_left_ptr.xpm ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
cursor.c ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
d3des.c
d3des.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
input.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
keymaps.c ui: Drop useless null tests in parse_keyboard_layout() 2013-01-16 12:02:47 -06:00
keymaps.h
Makefile.objs vnc: added initial websocket protocol support 2013-01-21 13:33:12 -06:00
qemu-pixman.c qemu-pixman.h: Avoid mutual inclusion loop with console.h 2013-01-30 11:16:28 +01:00
qemu-x509.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
sdl_keysym.h
sdl_zoom_template.h sdl: Fix heap smash in sdl_zoom_rgb{16,32} for int > 32 bits 2013-01-15 18:25:30 -06:00
sdl_zoom.c sdl: Fix heap smash in sdl_zoom_rgb{16,32} for int > 32 bits 2013-01-15 18:25:30 -06:00
sdl_zoom.h
sdl.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
spice-core.c spice: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
spice-display.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
spice-input.c ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
vgafont.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
vnc_keysym.h vnc: recognize Hungarian doubleacutes 2013-02-06 08:29:58 -06:00
vnc-auth-sasl.c
vnc-auth-sasl.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-jobs.h
vnc-palette.c
vnc-palette.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-tls.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-tls.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
vnc-ws.c vnc: Clean up vncws_send_handshake_response() 2013-01-30 10:31:22 +01:00
vnc-ws.h vnc: added initial websocket protocol support 2013-01-21 13:33:12 -06:00
vnc.c vnc: fix possible uninitialized removals 2013-01-21 13:33:12 -06:00
vnc.h vnc: fix possible uninitialized removals 2013-01-21 13:33:12 -06:00
x_keymap.c
x_keymap.h