projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66300e
)
Only attempt to read exif if the file is readable.
author
Laurent Monin
<geeqie@norz.org>
Sun, 1 Mar 2009 17:11:51 +0000
(17:11 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Sun, 1 Mar 2009 17:11:51 +0000
(17:11 +0000)
src/exif-common.c
patch
|
blob
|
history
diff --git
a/src/exif-common.c
b/src/exif-common.c
index
4cc8631
..
535f502
100644
(file)
--- a/
src/exif-common.c
+++ b/
src/exif-common.c
@@
-605,7
+605,7
@@
ExifData *exif_read_fd(FileData *fd)
{
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);