[PATCH] Detect strto* failures based on errno.

Dave Chinner david at fromorbit.com
Tue Jul 15 19:00:49 CDT 2014


On Mon, Jul 14, 2014 at 09:56:59AM +0200, Arkadiusz Miśkiewicz wrote:
> Code was testing for ERANGE errno only in some places. In other places
> it didn't do any errno checking at all.
> 
> Unify strto* result testing by treating any non zero errno as failure.
> 
> Signed-off-by: Arkadiusz Miśkiewicz <arekm at maven.pl>

Arkadiusz, why did git-send-email encode this entire commit in
base64? Can you configure git to send patches in plain text? even
UTF-8 encoding is fine.

Yes, I know git am handles base64 encoded emails, but humans
don't.... :/

As it is, the patch is fine.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list