Re: [PATCH] tests: Require base 10 for the string specifying the number of open fd's

2016-07-11 Thread Bryce Harrington
On Fri, Jul 08, 2016 at 07:39:33PM -0700, Yong Bakos wrote: > On Jul 8, 2016, at 7:00 PM, Bryce Harrington 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 pe

Re: [PATCH] tests: Require base 10 for the string specifying the number of open fd's

2016-07-08 Thread Yong Bakos
On Jul 8, 2016, at 7:00 PM, Bryce Harrington 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. > > exec-fd-leak-

[PATCH] tests: Require base 10 for the string specifying the number of open fd's

2016-07-08 Thread Bryce Harrington
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. exec-fd-leak-checker's single argument is the count of file descriptors it should