Project

General

Profile

Actions

Bug #322

closed

library should not do exit() for error handling

Added by Yannick Brosseau over 11 years ago. Updated about 4 years 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

Actions

Also available in: Atom PDF