build-locale-archive sometimes created empty archives
(fixed by David Shea) (#1262040)
This commit is contained in:
parent
a0be169239
commit
26f4d28240
@ -313,8 +313,7 @@ fill_archive (struct locarhandle *tmpl_ah,
|
||||
/* Add one for "_" and one for the null terminator. */
|
||||
size_t len = strlen (install_langs_list[i]) + 2;
|
||||
char *install_lang = (char *)xmalloc (len);
|
||||
strncpy (install_lang, install_langs_list[i], len - 2);
|
||||
install_lang[len - 1] = '\0';
|
||||
strcpy (install_lang, install_langs_list[i]);
|
||||
if (strchr (install_lang, '_') == NULL)
|
||||
strcat (install_lang, "_");
|
||||
if (strncmp (name, install_lang, strlen (install_lang)) == 0)
|
||||
|
@ -1,6 +1,6 @@
|
||||
%define glibcsrcdir glibc-2.22
|
||||
%define glibcversion 2.22
|
||||
%define glibcrelease 2%{?dist}
|
||||
%define glibcrelease 3%{?dist}
|
||||
# Pre-release tarballs are pulled in from git using a command that is
|
||||
# effectively:
|
||||
#
|
||||
@ -1828,6 +1828,9 @@ rm -f *.filelist*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 16 2015 Mike FABIAN <mfabian@redhat.com> - 2.22-3
|
||||
- build-locale-archive sometimes created empty archives (fixed by David Shea) (#1262040)
|
||||
|
||||
* Fri Aug 14 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.22-2
|
||||
- Remove initgroups from default nsswitch.conf (#751450).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user