Re: [dev] [stest] Hidden file processing

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 6 Oct 2017 22:20:27 +0200

On Fri, Oct 06, 2017 at 03:50:28PM +0200, Kamil CholewiƄski wrote:
> Hi list,
>
> stest from dmenu f428f3e produces broken results for paths starting with
> a "." that are not hidden files. I think this is best illustrated with a
> conversation with the shell:
>
> > $ ls -d ./bin
> > ./bin
> > $ stest -d ./bin
> > $ stest -ad ./bin
> > ./bin
>
> stest should probably treat the path with basename(3) or realpath(3), or
> just assume "-a" if there are slashes in the path (which would almost
> match the behavior of "ls -d"). In any case, the current behavior is
> very counter-intuitive (I've only figured out what's happening after
> reading the source).
>
> Thoughts?
>
> <3,K.
>

Where is the patch?

-- 
Kind regards,
Hiltjo
Received on Fri Oct 06 2017 - 22:20:27 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 06 2017 - 22:24:27 CEST