Re: [dev] Patch for dmenu_path - pass -maxdepth 1 to find(1)

2011-06-06 Thread Troels Henriksen
Connor Lane Smith writes: > Hey, > > On 6 June 2011 22:10, Troels Henriksen wrote: >> If . is part of your PATH (leaving aside questions of whether this is a >> good idea), dmenu_path can be very slow, as it searches the entire tree >> from the working directory for binaries, despite the fact th

Re: [dev] Patch for dmenu_path - pass -maxdepth 1 to find(1)

2011-06-06 Thread Connor Lane Smith
Hey, On 6 June 2011 22:10, Troels Henriksen wrote: > If . is part of your PATH (leaving aside questions of whether this is a > good idea), dmenu_path can be very slow, as it searches the entire tree > from the working directory for binaries, despite the fact that only > those immediately in the d

[dev] Patch for dmenu_path - pass -maxdepth 1 to find(1)

2011-06-06 Thread Troels Henriksen
If . is part of your PATH (leaving aside questions of whether this is a good idea), dmenu_path can be very slow, as it searches the entire tree from the working directory for binaries, despite the fact that only those immediately in the directory matter. The following patch passes -maxdepth 1 to t