Bug 9580 - update-mime-database dumps core on errors
Summary: update-mime-database dumps core on errors
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 07:20 UTC by Yevgen Muntyan
Modified: 2007-02-02 06:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (2.96 KB, patch)
2007-01-09 07:28 UTC, Yevgen Muntyan
Details | Splinter Review

Description Yevgen Muntyan 2007-01-09 07:20:04 UTC
update-mime-database calls abort() or g_error() where it should nicely call exit().
Comment 1 Yevgen Muntyan 2007-01-09 07:28:17 UTC
Created attachment 8342 [details] [review]
patch
Comment 2 Bastien Nocera 2007-02-02 06:55:49 UTC
2007-02-02  Bastien Nocera  <hadess@hadess.net>

        * update-mime-database.c: (open_or_die), (main): Patch from
        Yevgen Muntyan <muntyan@tamu.edu> to avoid abort()'ing when
        we can't open a specific file for writing (Closes: #9580)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.