do not follow revursive links
Brought to you by:
gqview
Problem: gqview follows recursive symlinks when adding
pictures to a collection
Long Description:
I tried to make a collection of the images in my
Desktop directory, but all my memory was used up to
max and the kernel finally killed my desktop
environment including gqview some hours later.
Afterwards I found out that in
~/Desktop I had a link "old_desktop" that linked to the
Gnome Desktop (~/.desktop)
but ~/.destop links to ~/Desktop (the usage of .desktop
was deprecated)
Solution: make sure that files are not added twice
(check real path)
Logged In: YES
user_id=22391
Adding a note to myself, or anyone that wants to tackle this:
As of 2.1.2, the code could be changed to use islink_loop()
from pan-view.c to check directories in
path_list_recursive_append() of filelist.c for a circular
link. The thumbnail maintenance dialog has a few places too.