Commit f70be1f4 authored by Paolo Bacchilega's avatar Paolo Bacchilega

do not follow symlinks when deleting a folder recursively

[bug #698554]
parent 407ead25
......@@ -411,9 +411,8 @@ _g_file_remove_directory (GFile *directory,
return TRUE;
enumerator = g_file_enumerate_children (directory,
G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_TYPE,
0,
G_FILE_ATTRIBUTE_STANDARD_NAME "," G_FILE_ATTRIBUTE_STANDARD_TYPE,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable,
error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment