Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184411 Details for
Bug 228885
x11-misc/shared-mime-info-0.40 breaks mime type recognition in gnome-base/nautilus-2.22.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Have update-mime-tool check mime_dir exists
bug228885a.patch (text/plain), 737 bytes, created by
Martin von Gagern
on 2009-03-09 07:48:22 UTC
(
hide
)
Description:
Have update-mime-tool check mime_dir exists
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2009-03-09 07:48:22 UTC
Size:
737 bytes
patch
obsolete
>Give a more fitting error message when mime_dir does not exist. > >2009-03-09 Martin von Gagern > >References: >https://bugs.gentoo.org/228885 >http://bugs.freedesktop.org/20552 > >Index: shared-mime-info-0.60/update-mime-database.c >=================================================================== >--- shared-mime-info-0.60.orig/update-mime-database.c >+++ shared-mime-info-0.60/update-mime-database.c >@@ -3386,6 +3386,12 @@ int main(int argc, char **argv) > > package_dir = g_strconcat(mime_dir, "/packages", NULL); > >+ if (access(mime_dir, F_OK)) >+ { >+ g_warning(_("Directory '%s' does not exist!\n"), package_dir); >+ return EXIT_FAILURE; >+ } >+ > if (access(mime_dir, W_OK)) > { > g_warning(_("%s: I don't have write permission on %s.\n"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228885
:
157995
|
158089
|
158091
| 184411 |
184413