Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 28 Jun 2014 12:33:28 +0000 (13:33 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 28 Jun 2014 12:33:28 +0000 (13:33 +0100)
libs/pbd/file_utils.cc

index cfffd98592d625d45ee46b8beb0bc6072279acd4..311d22f9e0a4fc4c2fd9fcf1442e845aae939cd0 100644 (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);