diff options
author | 2019-06-05 18:26:12 +0200 | |
---|---|---|
committer | 2019-06-05 14:40:29 -0400 | |
commit | b4b274cdcea5269fc39ef9c846157d211f79eec9 (patch) | |
tree | bc58e4b6615053bdabececbb959b595d011e520d /.github | |
parent | swaybar/nag: use xcursor theme defined by XCURSOR_THEME/SIZE (diff) | |
download | sway-b4b274cdcea5269fc39ef9c846157d211f79eec9.tar.gz sway-b4b274cdcea5269fc39ef9c846157d211f79eec9.tar.zst sway-b4b274cdcea5269fc39ef9c846157d211f79eec9.zip |
check for empty string before calling strtoul() and check errno
Note: since strtoul() has no real error return code (both 0 and
ULONG_MAX may be returned on both success and failure), set errno=0
before calling strtoul().
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions