Revision: 1825
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1825&view=rev
Author:   nadvornik
Date:     2009-08-26 19:16:02 +0000 (Wed, 26 Aug 2009)

Log Message:
-----------
save one unnecessary call to stat_utf8

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

Modified: trunk/src/filedata.c
===================================================================
--- trunk/src/filedata.c        2009-08-25 22:21:46 UTC (rev 1824)
+++ trunk/src/filedata.c        2009-08-26 19:16:02 UTC (rev 1825)
@@ -513,7 +513,8 @@
                                FileData *sfd = work2->data;
                                
                                if (g_ascii_strcasecmp(ext, sfd->extension) == 
0 &&
-                                   stat_utf8(sfd->path, &nst)) /* basename 
list can contain deleted files */
+                                   (sfd == fd || stat_utf8(sfd->path, &nst))) 
+                                   /* basename list can contain deleted files, 
fd was recently stat'd by caller */
                                        {
                                        group_list = g_list_append(group_list, 
file_data_ref(sfd));
                                        }


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to