[Telepathy] [Bug 18832] New: Tp-glib shared lib calls exit()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 1 09:17:27 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18832

           Summary: Tp-glib shared lib calls exit()
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: bpepple at fedoraproject.org


Noticed when I ran rpmlint against the latest rpm that tp-glib is calling
exit() even though it's a shared lib, and doing so from a library is strongly
discouraged since 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.

Looks like it called in telepathy-glib/dbus.c:
DBusGConnection *tp_get_bus (void)


-- 
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 Telepathy mailing list