Replace chk_malloc + sprintf with asprintf
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 12 Nov 2011 05:07:30 +0000 (21:07 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Thu, 17 Nov 2011 06:58:49 +0000 (22:58 -0800)
commitd0dfd2128e6111b967c51136d97093d3b53ee6d6
tree63c7c0abdb2a5d0fa52013abe9dee3f710839c73
parentfecb1f5a0c2121de6d9209fc9525ac7d9b9555ea
Replace chk_malloc + sprintf with asprintf

Includes local private copy of asprintf for OS'es without it in libc.
Removes chk_malloc as no callers remain anymore.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
configure.ac
xmodmap.c
xmodmap.h