diff options
author | Eric Blake <eblake@redhat.com> | 2021-03-23 16:53:00 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-03-24 14:25:41 +0000 |
commit | 6162f7dafef51b44c5700ac3f82ff682faafe6c2 (patch) | |
tree | e2800a51427d5ce25c336344a2db229cb55b956b /.gitlab-ci.yml | |
parent | 061d79097c080722e359db7c0d9cddc006cfb14d (diff) |
utils: Work around mingw strto*l bug with 0x
Mingw recognizes that "0x" has value 0 without setting errno, but
fails to advance endptr to the trailing garbage 'x'. This in turn
showed up in our recent testsuite additions for qemu_strtosz (commit
1657ba44b4 utils: Enhance testsuite for do_strtosz()); adjust our
remaining tests to show that we now work around this windows bug.
This patch intentionally fails check-syntax for use of strtol.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210317143325.2165821-3-eblake@redhat.com>
Message-Id: <20210323165308.15244-15-alex.bennee@linaro.org>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions