Revision: 1457
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1457&view=rev
Author:   zas_
Date:     2009-03-01 17:11:51 +0000 (Sun, 01 Mar 2009)

Log Message:
-----------
Only attempt to read exif if the file is readable.

Modified Paths:
--------------
    trunk/src/exif-common.c

Modified: trunk/src/exif-common.c
===================================================================
--- trunk/src/exif-common.c     2009-03-01 17:10:45 UTC (rev 1456)
+++ trunk/src/exif-common.c     2009-03-01 17:11:51 UTC (rev 1457)
@@ -605,7 +605,7 @@
 {
        gchar *sidecar_path;
 
-       if (!fd) return NULL;
+       if (!fd || !is_readable_file(fd->path)) return NULL;
        
        if (!exif_cache) exif_cache = file_cache_new(exif_release_cb, 4);
        


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to