Bug 9580

Summary: update-mime-database dumps core on errors
Product: shared-mime-info Reporter: Yevgen Muntyan <muntyan>
Component: generalAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

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.