]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/glibc/glibc-rh832516.patch
Merge branch 'next' into fifteen
[people/teissler/ipfire-2.x.git] / src / patches / glibc / glibc-rh832516.patch
1 diff -Nrup a/locale/loadlocale.c b/locale/loadlocale.c
2 --- a/locale/loadlocale.c 2010-05-04 07:27:23.000000000 -0400
3 +++ b/locale/loadlocale.c 2012-08-05 17:19:47.761384155 -0400
4 @@ -170,7 +170,6 @@ _nl_load_locale (struct loaded_l10nfile
5 int save_err;
6 int alloc = ld_mapped;
7
8 - file->decided = 1;
9 file->data = NULL;
10
11 fd = open_not_cancel_2 (file->filename, O_RDONLY);
12 @@ -279,6 +278,7 @@ _nl_load_locale (struct loaded_l10nfile
13 newdata->alloc = alloc;
14
15 file->data = newdata;
16 + file->decided = 1;
17 }
18
19 void