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

Jasper St. Pierre jstpierre at mecheye.net
Wed Oct 30 05:27:07 CET 2013


Sure, then:

Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>


On Wed, Oct 30, 2013 at 12:21 AM, Alan Coopersmith <
alan.coopersmith at oracle.com> wrote:

> 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=**
> 82babf3ecfd6eb1ef65a150fb0c453**e7bfd61616<http://cgit.freedesktop.org/xorg/app/xrdb/commit/?id=82babf3ecfd6eb1ef65a150fb0c453e7bfd61616>
> http://cgit.freedesktop.org/**xorg/xserver/commit/?id=**
> c95c1d338fdb62dbe3dba934b97324**fa778b7fce<http://cgit.freedesktop.org/xorg/xserver/commit/?id=c95c1d338fdb62dbe3dba934b97324fa778b7fce>
> http://cgit.freedesktop.org/**xorg/lib/libXt/commit/?id=**
> ac07da253415ccb8b6322feedf7969**967357050e<http://cgit.freedesktop.org/xorg/lib/libXt/commit/?id=ac07da253415ccb8b6322feedf7969967357050e>
> http://cgit.freedesktop.org/**xorg/app/xmodmap/commit/?id=**
> d0dfd2128e6111b967c51136d97093**d3b53ee6d6<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
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131030/03b7b44a/attachment.html>


More information about the xorg-devel mailing list