Bug 207246

Summary: rpmlint warning shared-lib-calls-exit /usr/lib64/libskgbasemodeler.so.0.5.0 exit@GLIBC_2.2.5
Product: [Applications] skrooge Reporter: Thomas Janssen <thomasj>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Janssen 2009-09-13 13:52:54 UTC
Version:           0.5.0 (using KDE 4.3.1)
Compiler:          gcc-4.3.2-7.x86_64 
OS:                Linux
Installed from:    Compiled From Sources

[thomas@tusdell SPECS]$ rpmlint ../RPMS/x86_64/skrooge*-0.5.0-1.fc10.x86_64.rpm
skrooge-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/libskgbasemodeler.so.0.5.0 exit@GLIBC_2.2.5
3 packages and 0 specfiles checked; 0 errors, 1 warnings

[thomas@tusdell SPECS]$ rpmlint -I shared-lib-calls-exit /usr/lib64/libskgbasemodeler.so.0.5.0 exit@GLIBC_2.2.5
shared-lib-calls-exit:
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.
Comment 1 Stephane MANKOWSKI 2009-09-13 17:14:51 UTC
SVN commit 1022926 by smankowski:

BUG: 207249: rpmlint error: debuginfo-without-sources (including a fix) 
BUG: 207246: rpmlint warning shared-lib-calls-exit /usr/lib64/libskgbasemodeler.so.0.5.0 exit@GLIBC_2.2.5 (for fedora packaging)

 M  +2 -1      CHANGELOG  
 M  +4 -1      CMakeLists.txt  
 M  +1 -0      skgbankgui/skgquerydelegate.cpp  
 M  +1 -1      skgbankmodeler/skgruleobject.cpp  
 M  +1 -0      skgbasemodeler/skgdocument.cpp  
 M  +2 -0      skrooge_bank/skgbankboardwidget.cpp  
 M  +1 -0      skrooge_bank/skgbankpluginwidget.cpp  
 M  +2 -0      skrooge_categories/skgcategoriespluginwidget.cpp  
 M  +1 -0      skrooge_monthly/skgmonthlypluginwidget.cpp  
 M  +1 -0      skrooge_operation/skgoperationboardwidget.cpp  
 M  +2 -2      skrooge_operation/skgoperationpluginwidget.cpp  
 M  +1 -2      skrooge_operation/skgoperationpluginwidget.h  
 M  +2 -0      skrooge_scheduled/skgscheduledboardwidget.cpp  
 M  +2 -0      skrooge_scheduled/skgscheduledpluginwidget.cpp  
 M  +1 -0      skrooge_search/skgsearchpluginwidget.cpp  
 M  +2 -0      skrooge_tracker/skgtrackerpluginwidget.cpp  
 M  +2 -0      skrooge_unit/skgunitboardwidget.cpp  
 M  +4 -2      skrooge_unit/skgunitpluginwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022926