Revision: 1891
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1891&view=rev
Author:   zas_
Date:     2010-01-09 10:37:48 +0000 (Sat, 09 Jan 2010)

Log Message:
-----------
Log a message when EOVERFLOW error is set by stat() when building files lists. 
See bug 2876142.

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

Modified: trunk/src/filedata.c
===================================================================
--- trunk/src/filedata.c        2010-01-05 22:28:11 UTC (rev 1890)
+++ trunk/src/filedata.c        2010-01-09 10:37:48 UTC (rev 1891)
@@ -22,6 +22,7 @@
 #include "trash.h"
 #include "histogram.h"
 
+#include <errno.h>
 
 static GHashTable *file_data_pool = NULL;
 static GHashTable *file_data_planned_change_hash = NULL;
@@ -1080,6 +1081,13 @@
                                        }
                                }
                        }
+               else
+                       {
+                       if (errno == EOVERFLOW)
+                               {
+                               log_printf("stat(): EOVERFLOW, skip '%s'", 
filepath);
+                               }
+                       }
                g_free(filepath);
                }
 


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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to