Re: [PATCH v4] Ensure mktime sets errno on error (bug 23789)

2018-11-07 Thread Albert ARIBAUD
On Wed, 7 Nov 2018 13:39:42 +0100, Albert ARIBAUD wrote : > So it seems to me that we're really "just" reaching a maximum of probes > after which __mktime_internal, while not failing at computing candidate > times, could not find a perfect match in less than the 6 rounds it > allows itself. > >

Re: [PATCH v4] Ensure mktime sets errno on error (bug 23789)

2018-11-07 Thread Albert ARIBAUD
Hi Paul, On Tue, 6 Nov 2018 16:28:36 -0800, Paul Eggert wrote : > 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 l