[Xcb] [Bug 18808] New: /usr/lib/libxcb-aux.so.0.0.0 calls exit()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 28 15:26:47 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=18808
Summary: /usr/lib/libxcb-aux.so.0.0.0 calls exit()
Product: XCB
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Utils
AssignedTo: xcb at lists.freedesktop.org
ReportedBy: mnowak at redhat.com
Created an attachment (id=20680)
--> (http://bugs.freedesktop.org/attachment.cgi?id=20680)
Proposed patch
rpmlint from Fedora ran on the xcb-utils package suggests this:
"""
xcb-util.i386: W: shared-lib-calls-exit /usr/lib/libxcb-aux.so.0.0.0
exit at 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.
"""
Perhaps the intention was to *return* something, and perhaps non-zero?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xcb
mailing list