[PATCH] Initialize __libc_setlocale_lock (#523380)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We need to initialize __libc_setlocale_lock so loader links properly.
---
 loader2/wcstubs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader2/wcstubs.c b/loader2/wcstubs.c
index a6fdb5c..9859a63 100644
--- a/loader2/wcstubs.c
+++ b/loader2/wcstubs.c
@@ -104,4 +104,4 @@ const size_t _nl_category_name_sizes[] = {
 /* avoid bringing in glibc's setlocale.o - we want to use our
    fake setlocale() */
 typedef pthread_mutex_t __libc_lock_t;
-__libc_lock_t __libc_setlocale_lock;
+__libc_lock_t __libc_setlocale_lock = { 0 };
-- 
1.7.2.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux