[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xstrtol: ensure errno is reset

From: Paul Eggert
Subject: Re: [PATCH] xstrtol: ensure errno is reset
Date: Tue, 30 Dec 2014 23:44:07 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Pádraig Brady wrote:
+2014-12-30  Pádraig Brady<address@hidden>
+       xstrtol: ensure errno is reset
+       Since commit 3bf75404, on 26-09-1998, errno may not have been reset.
+       Noticed with a spurious coreutils test failure on Darwin 14.0.0.

Sorry, can you explain more? First, why does xstrtol's caller care about errno -- isn't that a bug? Second, can't isspace set errno and won't this cause problems?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]