FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 10-26-2010, 07:13 PM
David Cantrell
 
Default Initialize __libc_setlocale_lock (#523380)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org