Re: Debian Bug#666958: gnat-gps: GPS isn't looking in /usr/share/ada/adainclude for installed packages
Ludovic Brenta <[email protected]> Tue, 10 Apr 2012 14:07:19 +0200
| Newsgroups | gmane.comp.ide.gps.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 10 Apr 2012 14:00:53 +0200, Emmanuel Briot wrote: > Thanks. > I agree there is a bug there, although I chose a different approach > than you patch (using a Set is more efficient than looping as we did > before -- this was pre-Ada2005 code). I don't think it really is more efficient in real cases where there are two or three directories in Project_Path... but OK. You could improve the patch further by getting rid of the Found variable and directly saying if not Visited.Contains (Project_Path (J)) then ... -- Ludovic Brenta.