@@ -22,8 +22,8 @@ versions coexist on the system.
2222
2323 /* Use this when we come along an error. */
2424 #define ERROR_RETURN \
25- @@ -48,7 +49,6 @@ __newlocale (int category_mask, const char *locale, __locale_t base)
26- __locale_t result_ptr;
25+ @@ -48,7 +49,6 @@ __newlocale (int category_mask, const char *locale, locale_t base)
26+ locale_t result_ptr;
2727 char *locale_path;
2828 size_t locale_path_len;
2929- const char *locpath_var;
@@ -51,7 +51,7 @@ versions coexist on the system.
5151 /* Get the names for the locales we are interested in. We either
5252 allow a composite name or a single name. */
5353diff --git a/locale/setlocale.c b/locale/setlocale.c
54- index ead030d..0c0e314 100644
54+ index e4de907e1f..47b6233fc5 100644
5555--- a/locale/setlocale.c
5656+++ b/locale/setlocale.c
5757@@ -215,12 +215,65 @@ setdata (int category, struct __locale_data *data)
@@ -121,7 +121,7 @@ index ead030d..0c0e314 100644
121121 char *composite;
122122
123123 /* Sanity check for CATEGORY argument. */
124- @@ -251,17 +304,10 @@ setlocale (int category, const char *locale)
124+ @@ -251,18 +304,11 @@ setlocale (int category, const char *locale)
125125 locale_path = NULL;
126126 locale_path_len = 0;
127127
@@ -142,22 +142,23 @@ index ead030d..0c0e314 100644
142142 }
143143
144144 if (category == LC_ALL)
145+ {
145146diff --git a/string/Makefile b/string/Makefile
146- index 8424a61..f925503 100644
147+ index aa2da9ca72..de752a1539 100644
147148--- a/string/Makefile
148149+++ b/string/Makefile
149- @@ -38 ,7 +38 ,7 @@ routines := strcat strchr strcmp strcoll strcpy strcspn \
150+ @@ -40 ,7 +40 ,7 @@ routines := strcat strchr strcmp strcoll strcpy strcspn \
150151 swab strfry memfrob memmem rawmemchr strchrnul \
151152 $(addprefix argz-,append count create ctsep next \
152153 delete extract insert stringify \
153154- addsep replace) \
154155+ addsep replace suffix) \
155156 envz basename \
156157 strcoll_l strxfrm_l string-inlines memrchr \
157- xpg-strerror strerror_l
158+ xpg-strerror strerror_l explicit_bzero
158159diff --git a/string/argz-suffix.c b/string/argz-suffix.c
159160new file mode 100644
160- index 0000000..505b0f2
161+ index 0000000000..505b0f248c
161162--- /dev/null
162163+++ b/string/argz-suffix.c
163164@@ -0,0 +1,56 @@
@@ -218,10 +219,10 @@ index 0000000..505b0f2
218219+ }
219220+ weak_alias (__argz_suffix_entries, argz_suffix_entries)
220221diff --git a/string/argz.h b/string/argz.h
221- index bb62a31..d276a35 100644
222+ index 9c496f5ef5..1010a439d8 100644
222223--- a/string/argz.h
223224+++ b/string/argz.h
224- @@ -134 ,6 +134 ,16 @@ extern error_t argz_replace (char **__restrict __argz,
225+ @@ -108 ,6 +108 ,16 @@ extern error_t argz_replace (char **__restrict __argz,
225226 const char *__restrict __str,
226227 const char *__restrict __with,
227228 unsigned int *__restrict __replace_count);
0 commit comments