# HG changeset patch # User zas_ # Date 1263033468 0 # Node ID 219a5dd783ed717dca1696d7d3e2fe2fb47c4931 # Parent 9dda6bf73922f934941788b97458e95be333dd31 Log a message when EOVERFLOW error is set by stat() when building files lists. See bug 2876142. diff -r 9dda6bf73922 -r 219a5dd783ed 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); }