commit | cd0dccd01e16fa404e03974d30ded3aebdb1c4bc | [log] [tgz] |
---|---|---|
author | Adrian Negreanu <adrian.m.negreanu@intel.com> | Tue Dec 17 13:48:54 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Dec 17 10:57:52 2013 -0800 |
tree | b3ed5f6bbda7f72f253234f8f0a583a2bdf8e933 | |
parent | 01bde6319f49ba9c943b1edad32efa10336b4685 [diff] |
scanner: set errno=0 before strtol POSIX says to set errno=0 before calling strtol since the return value alne cannot tell a failure. on ubuntu armel I get: ../src/wayland-scanner client-header < ../../protocol/wayland.xml > wayland-client-protocol.h <stdin>:1188: error: invalid integer (2) Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>