setxkbmap: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Sun Feb 27 15:11:49 PST 2011
setxkbmap.c | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)
New commits:
commit e4387240c3c78014561fc2821cba5a944449599f
Author: Van de Bugger <van.de.bugger at gmail.com>
Date: Sat Feb 26 02:32:29 2011 +0300
Consistent handling of memory allocation errors.
Macro `OOM' ("Out of memory") introduced for checking and reporting
memory allocation errors. The same macro is used in all the cases.
One check was missed in original source; fixed.
Changes after patch review:
1. `OOM' macro uses `do ... while (0)'.
2. `exit(-1)', not `abort()'.
Signed-off-by: Van de Bugger <van.de.bugger at gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list