[BZ #21716]
* time/tzfile.c (__tzfile_read): Simplify slightly.
2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
+ Simplify tzfile fstat failure code
+ [BZ #21716]
+ * time/tzfile.c (__tzfile_read): Simplify slightly.
+
Fix tzfile low-memory assertion failure
[BZ #21716]
* time/tzfile.c (__tzfile_read): Check for memory exhaustion
/* Get information about the file we are actually using. */
if (fstat64 (__fileno (f), &st) != 0)
- {
- fclose (f);
- goto ret_free_transitions;
- }
+ goto lose;
free ((void *) transitions);
transitions = NULL;