[PATCH] Do not select symlinked dirs as files

David Sterba dave at jikos.cz
Wed Jun 11 11:16:35 UTC 2003


Hi,

this patch changes selection of files and dirs so that
symlinked dirs are not selected as files, but only
as directories (i.e. with "/" appended to file mask in selection dialog).

'Select', 'Unselect' and 'Reverse select' are consistent.

I think this i correct behaviour.

David
-------------- next part --------------
2003-06-11  David Sterba  <dave at jikos.cz>

	* cmd.c (select_cmd, unselect_cmd, reverse_selection_cmd):
	Handle symlinked directories as directories in file selections.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: select-link-dir.diff
Type: text/x-diff
Size: 1331 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20030611/7cc2a39c/attachment.diff>


More information about the mc-devel mailing list