[PATCH wayland] wl_strtol and wl_strtoul utility functions are added

Jason Ekstrand jason at jlekstrand.net
Wed Oct 15 11:42:13 PDT 2014


I don't see how this belongs in libwayland.  Sure, we use strtol twice, but
I don't think that warrants adding 100 lines of wrapper functions and test
cases.
--Jason Ekstrand

On Wed, Oct 15, 2014 at 6:16 AM, Rémi Denis-Courmont <remi at remlab.net>
wrote:

> Le 2014-10-15 16:14, Imran Zaman a écrit :
>
>> Hi
>>
>> The patch is used to replace strtol and strtoul with wl_strtol and
>> wl_strtoul with inputs and result checks.
>>
>
> I don't know where Wayland developers stand on this, but I would rather
> the client library function calls not clobber errno to zero.
>
> --
> Rémi Denis-Courmont
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141015/3b31ce45/attachment.html>


More information about the wayland-devel mailing list