|
From: | Matheus Afonso Martins Moreira |
Subject: | Re: [PATCH 0/9] Add library mode to source builtin |
Date: | Wed, 08 May 2024 00:30:32 +0000 |
> It does not. It searches for readable files. Look at > findcmd.c:find_path_file(). That's true, I stand corrected. I was thinking of the find_user_command function because it's what I based the find_user_library function on. They are all implemented in terms of the find_user_command_internal. The find_user_command function passes FS_EXEC_PREFERRED|FS_NODIRS while find_path_file just passes FS_READABLE. I suppose I should also have passed FS_READABLE. Matheus
[Prev in Thread] | Current Thread | [Next in Thread] |