913d7c15f7
This tightens up the strtol() error checking in several places where it
is used for parsing environment variables, and in the backlight
interface that is reading numbers from files under /sys/class/backlight.
All of these uses are expecting strings containing decimal numbers and
nothing else, so the error checking can all be tightened up and made
consistent with other strtol() calls.
This follows the error checking style used in Wayland
(c.f. wayland-client.c and scanner.c) and c.f. commit
|
||
---|---|---|
.. | ||
cms-colord.c | ||
cms-helper.c | ||
cms-helper.h | ||
cms-static.c | ||
main.c | ||
screen-share.c | ||
systemd-notify.c | ||
text-backend.c | ||
weston-screenshooter.c | ||
weston.desktop | ||
weston.h | ||
weston.pc.in | ||
xwayland.c |