Merge from gnulib
This incorporates: 2015-07-29 time_rz: port to pedantic memcpy * lib/time_rz.c: Copy from gnulib.
This commit is contained in:
parent
8d332aecca
commit
f5fc5cd5c2
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ tzalloc (char const *name)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue