[PATCH] replace isnumber() with isdigit() in X devd backend

Robert Millan rmh at freebsd.org
Mon Feb 3 14:43:07 UTC 2014


isdigit() is more correct in this case (the input is not locale-dependant),
and also more portable since it is provided on systems with Glibc (e.g.
Debian GNU/kFreeBSD).

-- 
Robert Millan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devd_isdigit.diff
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20140203/9ef59ec3/attachment.bin>


More information about the freebsd-x11 mailing list