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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-24-2010, 11:54 AM
Ales Kozumplik
 
Default logging: simplify stdout logging in execWithCallback().

On 05/20/2010 08:36 PM, Brian C. Lane wrote:


I like that. One question though -- what about when an IOError != 4 is
raised? We will lose all of the output. This appears to be the case for
stderr output in the existing code as well.

I'm not sure how important that is -- I don't know exactly what would
raise IOError != 4 so maybe it isn't really an issue.


That's a good catch. errno 4 is an interrupted system call, so in that
case we just go through the loop again. For the errno != 4 cases I'll
move the log printing statements inside of the handler.


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 01:23 AM.

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