summaryrefslogtreecommitdiff
path: root/libs/pbd/file_utils.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-06-28 13:33:28 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2014-06-28 13:33:28 +0100
commitdcca72dabd9e134af1029bf2cf4c8ab87f6aa284 (patch)
treed217a4fa8016a29b8ab7edc632e07bf6f2db04aa /libs/pbd/file_utils.cc
parent22ce7c076256b0ebf3f3fc119210e95e24ec88d3 (diff)
Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r--libs/pbd/file_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc
index cfffd98592..311d22f9e0 100644
--- a/libs/pbd/file_utils.cc
+++ b/libs/pbd/file_utils.cc
@@ -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);