Revision: 1066
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1066&view=rev
Author:   nadvornik
Date:     2008-08-19 20:58:23 +0000 (Tue, 19 Aug 2008)

Log Message:
-----------
fixed possible segfault

Modified Paths:
--------------
    trunk/src/view_file.c

Modified: trunk/src/view_file.c
===================================================================
--- trunk/src/view_file.c       2008-08-17 14:18:51 UTC (rev 1065)
+++ trunk/src/view_file.c       2008-08-19 20:58:23 UTC (rev 1066)
@@ -843,7 +843,9 @@
        gboolean refresh;
 
        if (vf->refresh_idle_id != -1) return;
-       
+
+       if (!vf->dir_fd) return;
+
        refresh = (fd == vf->dir_fd);
 
        if (!refresh)


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to