[Psi-devel] Bug-Report: Psi 0.10 stats every file in my home

textshell-I1QKlO at neutronstar.dyndns.org textshell-I1QKlO at neutronstar.dyndns.org
Sat Mar 31 07:25:41 PDT 2007


On Sat, Mar 31, 2007 at 04:16:34PM +0200, Maciek Niedzielski wrote:
> textshell-I1QKlO at neutronstar.dyndns.org wrote:
> > On Sat, Mar 31, 2007 at 03:52:23PM +0200, Maciek Niedzielski wrote:
> >> Georg Sauthoff wrote:
> >>> psi 0.10 stat()s every file at the top level of my home.
> >> I guess this should be enough:
> >>> -       dirs += "." + subdir;
> > 
> > I think we should remove "." from the searchpath. But we really want
> > to keep the ability to run psi without installing from the build
> > directory. that might imply some platform specific code, but it seems
> > like a good idea.
> 
> QString QCoreApplication::applicationDirPath ()
> 
read the warning... I'd say using /proc/self/exe might give more reliable
results on linux. but yes, that seems to be fine as fallback.

 - Martin H.


More information about the psi-devel mailing list