[epiphany] ephy-file-helpers: fix ephy_file_delete_dir_recursively()
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-file-helpers: fix ephy_file_delete_dir_recursively()
- Date: Sun, 7 Dec 2014 16:22:54 +0000 (UTC)
commit ef048267656323f27a7b340ffcafb98029bc100e
Author: Claudio Saavedra <csaavedra igalia com>
Date: Sun Dec 7 17:20:56 2014 +0100
ephy-file-helpers: fix ephy_file_delete_dir_recursively()
The directory iterator is not advanced.
lib/ephy-file-helpers.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index baaa6a5..eb6f743 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -910,6 +910,7 @@ ephy_file_delete_dir_recursively (const char *directory, GError **error)
}
}
g_free (file_path);
+ file_name = g_dir_read_name (dir);
}
g_dir_close (dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]