libinput/tools
Jon A. Cruz 96d4fa0364 Add xasprintf to avoid use of undefined pointer values
If asprintf fails for any reason, the contents of the pointer
are undefined. While some platforms set it to NULL, there is no
guarantee that all will.

This change adds a simple wrapper to ensure proper NULL results
on failure.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

Added LIBINPUT_PRINTF attribute and the required declaration for it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-06-01 08:47:14 +10:00
..
.gitignore tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
event-debug.c tools: print symbolic key names too from event-debug 2015-05-29 12:23:05 +10:00
event-gui.c tools: use doubles to back the scroll bars 2015-04-22 15:31:21 +10:00
libinput-debug-events.man tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
libinput-list-devices.c Add xasprintf to avoid use of undefined pointer values 2015-06-01 08:47:14 +10:00
libinput-list-devices.man tools: fix typo in man page 2015-04-30 16:44:43 +10:00
Makefile.am tools: print symbolic key names too from event-debug 2015-05-29 12:23:05 +10:00
ptraccel-debug.c Add streq() helper to use instead of strcmp() == 0 2015-05-26 08:46:05 +10:00
publish-doc tools: fix the publish-doc script 2014-06-16 16:44:34 +10:00
shared.c Add streq() helper to use instead of strcmp() == 0 2015-05-26 08:46:05 +10:00
shared.h tools: add --set-scroll-button as option 2015-04-22 07:22:42 +10:00