Re: [PATCH wayland] scanner: set errno=0 before strtol

2013-12-17 Thread Kristian Høgsberg
On Tue, Dec 17, 2013 at 01:48:54PM +0200, Adrian Negreanu wrote: > From: Adrian Negreanu > > POSIX says to set errno=0 before calling strtol since > the return value alne cannot tell a failure. Right, looks good, thanks. Committed. Kristian > on ubuntu armel I get: > > ../src/wayland-scann

[PATCH wayland] scanner: set errno=0 before strtol

2013-12-17 Thread Adrian Negreanu
From: Adrian Negreanu 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 :1188: error: invalid integer (2) Signed-off-by: Ad