Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)

This commit is contained in:
John Emmas 2014-06-28 13:33:28 +01:00
parent 22ce7c0762
commit dcca72dabd

View file

@ -399,7 +399,7 @@ remove_directory_internal (const string& dir, size_t* size, vector<string>* path
bool just_remove_files)
{
vector<string> tmp_paths;
struct stat statbuf;
GStatBuf statbuf;
int ret = 0;
get_paths (tmp_paths, dir, just_remove_files, true);