[bug] symlink directiories are selected on selection

Maciej Pilichowski bluedzins at wp.pl
Mon Oct 6 12:47:11 UTC 2008


Hello,

> But if there is not regular directory but symlinked
> > directory (and valid one) 
> this isn't strictly a bug, it's just unexpected.

?

> suppose you have a dangling symlink - should it be marked or not?

Not. Because dangling symlink for MC is a file (check it) so it should 
behave consistently (*).

In my case there is no dangling symlink -- I described there is 
symlink and it is valid one and it is directory. And MC _knows_ it is 
directory (it puts it among directories, not among the files), yet 
when selecting it treats it like a file.

No matter what, the behaviour should be consistent (principle of the 
least surprise). So it is a bug.

Kind regards,

(*) of course _if_ MC treated dead symlink as a directory, my answer 
would be opposite.



More information about the mc-devel mailing list