Ticket #118 (assigned defect)

Opened 2 months ago

Last modified 8 weeks ago

rpmlint errors

Reported by: dcarter Owned by: dcarter
Priority: normal Milestone: Release 0.8.2
Component: ARM4 Agent Version: Development
Severity: Functionality Keywords:
Cc:

Description

Updated rpmlint reports the following as errors:

arm4.i386: W: shared-lib-calls-exit /usr/lib/libarm4db_bdb.so.1.0.0 exit@GLIBC_2.0 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.

arm4.i386: W: shared-lib-calls-exit /usr/lib/libarm4db_common.so.1.0.0 exit@GLIBC_2.0 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.

arm4.i386: W: shared-lib-calls-exit /usr/lib/libarm4db.so.1.0.0 exit@GLIBC_2.0 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

Changed 2 months ago by dcarter

  • status changed from new to assigned

Changed 8 weeks ago by dcarter

(In [642]) see #118 - patch quality fix to remove exit() from libraries

Note: See TracTickets for help on using tickets.