[PATCH:xkbcomp 3/4] Convert remaining sprintf calls to snprintf

Alan Coopersmith alan.coopersmith at oracle.com
Wed Oct 30 05:21:58 CET 2013


On 10/29/13 07:22 PM, Jasper St. Pierre wrote:
> You do know you can implement an asprintf-alike using vsnprintf, right?

Yeah, I think it's safe to say I know that:

http://cgit.freedesktop.org/xorg/app/xrdb/commit/?id=82babf3ecfd6eb1ef65a150fb0c453e7bfd61616
http://cgit.freedesktop.org/xorg/xserver/commit/?id=c95c1d338fdb62dbe3dba934b97324fa778b7fce
http://cgit.freedesktop.org/xorg/lib/libXt/commit/?id=ac07da253415ccb8b6322feedf7969967357050e
http://cgit.freedesktop.org/xorg/app/xmodmap/commit/?id=d0dfd2128e6111b967c51136d97093d3b53ee6d6

I just didn't think it was worth the effort in this patch to add one - maybe
later, once the XKB *alloc calls are converted to standard C ones.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list