* lib/time_rz.c (tzalloc): Pacify pedantic memcpy implementations
that reject memcpy (..., NULL, 0).
+2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ time_rz: port to pedantic memcpy
+ * lib/time_rz.c (tzalloc): Pacify pedantic memcpy implementations
+ that reject memcpy (..., NULL, 0).
+
2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
time_rz: port better to MinGW
tz->tzname_copy[0] = tz->tzname_copy[1] = NULL;
#endif
tz->tz_is_set = !!name;
- extend_abbrs (tz->abbrs, name, name_size);
+ tz->abbrs[0] = '\0';
+ if (name)
+ extend_abbrs (tz->abbrs, name, name_size);
}
return tz;
}