https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109857

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> So let's just go with this:
> 
> > Or at least try using the bundled one if the
> > parsing the system file fails, as in this case.
> 
> i.e. only use the bundled one as a fallback if parsing the on-disk file
> fails.

And maybe only if the tzdb_list is currently empty. If we have at least one
valid tzdb already, then we don't need to use the bundled one, and can just
propagate the exception from reload_tzdb() to tell the program there's a
problem.

Reply via email to