Opened 13 years ago

#1098 new Defect

RPMLINT: shared-lib-calls-exit

Reported by: saigkill Owned by:
Priority: Major Milestone: Undetermined
Component: Undetermined Version: 6.10.58
Keywords: Cc:

Description

libboinc6.x86_64: W: shared-lib-calls-exit /usr/lib64/libboinc_api.so.6.10.58 exit@GLIBC_2.2.5

libboinc6.x86_64: W: shared-lib-calls-exit /usr/lib64/libboinc_graphics2.so.6.10.58 exit@GLIBC_2.2.5

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.

Change History (0)

Note: See TracTickets for help on using tickets.