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 > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-30-2011, 01:03 PM
Martin Sivak
 
Default Do not print out traceback when localedef is not present

This skips the atexit handlers we have in the failed forked copy
to prevent confusing traceback to be printed out.

This shouldn't ever happen in proper install image, but we have
seen it happen in one mangled test compose.
---
loader/lang.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/lang.c b/loader/lang.c
index f3e00df..1c7a68c 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -299,7 +299,7 @@ static int setupLanguage(int choice, int forced) {
"-i", locale_p,
"-f", (locale_charset) ? locale_charset : "UTF-8",
languages[choice].lc_all, NULL);
- exit(254);
+ _exit(254);
}

if (localedef_pid < 0) logMessage(ERROR, "failed forking localedef for %s", languages[choice].lc_all);
--
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-30-2011, 01:08 PM
Ales Kozumplik
 
Default Do not print out traceback when localedef is not present

On 03/30/2011 03:03 PM, Martin Sivak wrote:

This skips the atexit handlers we have in the failed forked copy
to prevent confusing traceback to be printed out.

This shouldn't ever happen in proper install image, but we have
seen it happen in one mangled test compose.
---


Ack.

Ales

_______________________________________________
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 09:57 PM.

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