On 2021-09-19, John Little wrote:
> There are cases where the resolution of symbolic names causes problems.

Agreed.

I have a plugin that needs to search for parent directories and for
files in those parent directories.  I used to use finddir() and
findfile() for this, but then discovered that they, too, resolve
symbolic links.  This was no good when running the plugin in
a subdirectory of one of the /usr/src/linux-headers-* directories.
Many of those subdirectories are symbolic links to some other
/usr/src/linux-headers-* subdirectory, so my plugin would find the
wrong parent directory.  I wound up writing my own FindDir() and
FindFile() that textually traverse $PWD/<relative path>.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20210920214132.GD20592%40phoenix.

Raspunde prin e-mail lui