After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143302 - gnome-vfs does not insert last entry of magic file
gnome-vfs does not insert last entry of magic file
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: MIME and file/program mapping
cvs (head)
Other Linux
: High major
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-27 17:48 UTC by Hongli Lai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Patch to fix the problem (556 bytes, patch)
2004-05-27 17:48 UTC, Hongli Lai
none Details | Review

Description Hongli Lai 2004-05-27 17:48:14 UTC
gnome-vfs does not insert the last entry of a magic file
(/usr/share/mime/magic). The following patch fixes this.
Comment 1 Hongli Lai 2004-05-27 17:48:40 UTC
Created attachment 28097 [details] [review]
Patch to fix the problem
Comment 2 Hongli Lai 2004-05-27 17:50:42 UTC
To be more specific: I meant that the last entry of a magic file is not inserted
into the variable global_magic (xdgmime.c).
Comment 3 Alexander Larsson 2004-06-23 13:29:36 UTC
jrb, can you look at this?
Comment 4 Jonathan Blandford 2004-06-23 15:13:51 UTC
The relevant commit was:

Jonathan Blandford  <jrb@gnome.org>

        * libgnomevfs/xdgmimemagic.c: Sync from upstream.

I guess that should have been a lot more informative, the patch did go in.  Are
there other problems Alex?  On the assumption that you were just going through
old bugs, I'll just close this.