[nautilus/recursive-link-changes] file: add comment about symlink cycle prevention
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/recursive-link-changes] file: add comment about symlink cycle prevention
- Date: Tue, 13 Mar 2018 18:07:18 +0000 (UTC)
commit 3883ea638b1594d8d75d6d64092de911fd06053f
Author: Ernestas Kulik <ernestask gnome org>
Date: Tue Mar 13 20:05:53 2018 +0200
file: add comment about symlink cycle prevention
src/nautilus-file.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 9f85a2f2c..8662d64a6 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -8537,6 +8537,7 @@ nautilus_file_emit_changed (NautilusFile *file)
g_autolist (NautilusFile) link_targets = NULL;
NautilusDirectory *directory;
+ /* Files can be links to themselves. */
if (p->data == file)
{
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]