# HG changeset patch # User zas_ # Date 1263033468 0 # Node ID c00b59265ddba1aa6b843581dc11bb63964960cb # Parent 37b8eaebb0b62aef939762edf75b10c649f7f793 Log a message when EOVERFLOW error is set by stat() when building files lists. See bug 2876142. diff -r 37b8eaebb0b6 -r c00b59265ddb src/filedata.c --- a/src/filedata.c Tue Jan 05 22:28:11 2010 +0000 +++ b/src/filedata.c Sat Jan 09 10:37:48 2010 +0000 @@ -22,6 +22,7 @@ #include "trash.h" #include "histogram.h" +#include 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); }