Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] Strange Globing Behaviour when used with sudo



> 2018/06/04 1:30、I wrote:
> 
> If we really need to workaround this bug, probably the simplest way 
> would be not to add a file to pathbuf as in the patch below.

No, this patch will not work if pathbuf is longer than PATH_MAX.
We need to handle PATH_MAX/pathbufcwd in addpath(), or call statfullpath()
(with my 1st patch) from addpath().


Messages sorted by: Reverse Date, Date, Thread, Author