GNOME Bugzilla – Bug 135240
crash with filenames with a '#' in them
Last modified: 2004-12-22 21:47:04 UTC
It seems that every time i add a file that has a pound sign in it, muine crashes. All subsequent instances of the program crash immediately as well. clearing out the .gconf/apps/muine and .gnome2/muine dirs allows it to start again, and it will run fine as long as i dont add in those songs again. Examples: 08 - #nloco - Bruises.ogg Dropkick Murphys - 12 - Tenant Enemy #1.ogg But for some reason this one doesn't: #nloco - 08 - Bruises.ogg
*** This bug has been marked as a duplicate of 132392 ***
iso8859 for a '#' = 0x23 UTF8 for a '#' = 0x23 unless i'm mistaken?
Hm, you're right.. it doesn't crash here but it just doesn't load files with # in them. Gonna have a look at this ..
i was using the 0.4.0 but i'm tryied the cvs version and it doesnt crash, just doesnt add them as you say... i tracked it down to the call to gnome_vfs_get_file_info returning a null mime type in metadata.c looked up some refs on this and found that this fixes it: line 667: gnome_vfs_get_file_info( gnome_vfs_escape_path_string(filename).... maybe this might help with the accented chars from the encoding bug as well?
Created attachment 24869 [details] [review] patch for gnome vfs filenames
Cleanup a little and committed, thanks!!