|
From: | Paul Eggert |
Subject: | Re: [PATCH v4] Ensure mktime sets errno on error (bug 23789) |
Date: | Tue, 6 Nov 2018 16:28:36 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On 11/6/18 12:41 PM, Albert ARIBAUD wrote:
Issue is that __mktime_internal exited through else if (--remaining_probes == 0) return -1; with errno never set. Any idea why?
Either localtime_r is failing without setting errno so the bug is in localtime_r, or localtime_r never fails and so never sets errno so the bug is in mktime. Can you check which of these is happening?
[Prev in Thread] | Current Thread | [Next in Thread] |