Project

General

Profile

Bug #322

library should not do exit() for error handling

Added by Yannick Brosseau about 8 years ago. Updated 8 months ago.

Status:
Invalid
Priority:
Low
Category:
-
Target version:
-
Start date:
03/05/2012
Due date:
% Done:

0%

Estimated time:

Description

It's impolite for a library to call exit().

We should find a better way to do error handling in those case

(
rom rpmlint:
libbabeltrace.x86_64: W: shared-lib-calls-exit /usr/lib64/libbabeltrace-ctf.so.0.0.0 exit@GLIBC_2.2.5
)
Its in the file:
babeltrace/formats/ctf/metadata/ctf-lexer.c

Also available in: Atom PDF