From 917cc32f5f9327072653f270feac1443e96b6b6e Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sat, 28 Jun 2014 13:33:28 +0100 Subject: [PATCH] Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing) --- libs/pbd/file_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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* path bool just_remove_files) { vector tmp_paths; - struct stat statbuf; + GStatBuf statbuf; int ret = 0; get_paths (tmp_paths, dir, just_remove_files, true);