shared-lib-calls-exit

Issue #2 invalid
Former user created an issue

[ 28s] RPMLINT report: [ 28s] =============== [ 29s] libzdb11.x86_64: W: shared-lib-calls-exit /usr/lib64/libzdb.so.11.0.0 exit@GLIBC_2.2.5 [ 29s] libzdb11.x86_64: W: shared-lib-calls-exit /usr/lib64/libzdb.so.11.0.0 exit@@GLIBC_2.2.5 [ 29s] This library package calls exit() or _exit(), probably in a non-fork() [ 29s] context. Doing so from a library is strongly discouraged - when a library [ 29s] function calls exit(), it prevents the calling program from handling the [ 29s] error, reporting it to the user, closing files properly, and cleaning up any [ 29s] state that the program has. It is preferred for the library to return an [ 29s] actual error code and let the calling program decide how to handle the [ 29s] situation.

Comments (1)

  1. Tildeslash repo owner

    Thanks, but (we hope) we know what we do. We also use the excellent static analyser tool in Xcode so there is no need to send us lint output or similar unless there is a bug

  2. Log in to comment