On Mon, Nov 22, 2010 at 3:13 PM, James Bowlin <[email protected]> wrote:
> in my defaults.list.  The output of strace that was troubling was:
>
> stat("/usr/local/shareapplications/geeqie.desktop", 0x7fff7903cfb0) = -1 
> ENOENT (No such file or directory)
> stat("/usr/shareapplications/geeqie.desktop", 0x7fff7903cfb0) = -1 ENOENT (No 
> such file or directory)
> stat("/usr/share/gdmapplications/geeqie.desktop", 0x7fff7903cfb0) = -1 ENOENT 
> (No such file or directory)

mimedb.c:file_exists() doesn't seem to add a slash between the
directory and filename before using stat to check if it exists.
mimedb.c:get_filename() seems to try to workaround the above bug for
hardcoded paths, but not for paths in the XDG_DATA_HOME or
XDG_DATA_DIRS environment variables.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to