Hi,

On 9 July 2016 at 02:36, Yong Bakos <[email protected]> wrote:
> On Jul 8, 2016, at 4:42 PM, Bryce Harrington <[email protected]> wrote:
>> The third arg to strtol() specifies the base to assume for the number.
>> When 0 is passed, as is currently done in wayland-client.c, hexadecimal
>> and octal numbers are permitted and automatically detected and
>> converted.
>>
>> I can find no indication that we would ever expect use of hexadecimal or
>> octal for socket fd's.  So be explicit about what base we're assuming
>> here and avoid any potential surprises.
>>
>> Signed-off-by: Bryce Harrington <[email protected]>
>
> I can think of no drawbacks to this.

Yeah, me neither. Thanks Bryce!

To ssh://git.freedesktop.org/git/wayland/wayland
   b05baa6..a2cbdef  master -> master

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to