]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - glibc/patches/glibc-fedora-locarchive.patch
glibc: Update to 2.17.
[people/ms/ipfire-3.x.git] / glibc / patches / glibc-fedora-locarchive.patch
CommitLineData
3994dee1
MT
1This is a part of commit glibc-2.3.3-1492-ga891c7b,
2needed for fedora/build-locale-archive.c only.
3
4diff -Nrup a/ChangeLog.17 b/ChangeLog.17
5--- a/ChangeLog.17 2012-06-05 07:42:49.000000000 -0600
6+++ b/ChangeLog.17 2012-06-07 12:15:21.564319619 -0600
7@@ -11818,6 +11829,10 @@ d2009-10-30 Ulrich Drepper <drepper@re
8 [BZ #4368]
9 * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
10
11+2007-04-16 Jakub Jelinek <jakub@redhat.com>
12+
13+ * locale/programs/locarchive.c (add_alias, insert_name): Remove static.
14+
15 2007-04-16 Ulrich Drepper <drepper@redhat.com>
16
17 [BZ #4364]
18diff -Nrup a/locale/programs/locarchive.c b/locale/programs/locarchive.c
19--- a/locale/programs/locarchive.c 2012-06-05 07:42:49.000000000 -0600
20+++ b/locale/programs/locarchive.c 2012-06-07 12:15:21.585319540 -0600
21@@ -252,9 +252,9 @@ oldlocrecentcmp (const void *a, const vo
22 /* forward decls for below */
23 static uint32_t add_locale (struct locarhandle *ah, const char *name,
24 locale_data_t data, bool replace);
25-static void add_alias (struct locarhandle *ah, const char *alias,
26- bool replace, const char *oldname,
27- uint32_t *locrec_offset_p);
28+void add_alias (struct locarhandle *ah, const char *alias,
29+ bool replace, const char *oldname,
30+ uint32_t *locrec_offset_p);
31
32
33 static bool
34@@ -635,7 +635,7 @@ close_archive (struct locarhandle *ah)
35 #include "../../intl/explodename.c"
36 #include "../../intl/l10nflist.c"
37
38-static struct namehashent *
39+struct namehashent *
40 insert_name (struct locarhandle *ah,
41 const char *name, size_t name_len, bool replace)
42 {
43@@ -693,7 +693,7 @@ insert_name (struct locarhandle *ah,
44 return &namehashtab[idx];
45 }
46
47-static void
48+void
49 add_alias (struct locarhandle *ah, const char *alias, bool replace,
50 const char *oldname, uint32_t *locrec_offset_p)
51 {