[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: global -u on win32 with src root at drive root

From: Shigio YAMAGUCHI
Subject: Re: patch: global -u on win32 with src root at drive root
Date: Mon, 19 Oct 2009 20:23:31 +0900

Hi Kai,
> so far i was just looking at an easy fix for the problem at hand. But
> yes, maybe it's worth it having a closer look. So i started doing this
> and actually found that on unix, there's also a problem with having
> GTAGS at /GTAGS. setupdbpath in getdbpath.c bails out with GTAGS not
> found (line 277).

I also confirmed it. It seems that setupdbpath() does not look for GTAGS
in the system's root directory. In a word, it does not admit tag files
to be put in the system's root directory.

> Now, on unix it might be questionable to have a GTAGS db at the root of
> the file system.

Window version should also do the same behavior as UNIX version.
That is, it should die with the following message:

        global: GTAGS not found.

>                  But on the other hand there's nothing which really
> forbids this setup. So, if you think that this should be fixed too, i
> guess i could have a closer look. Even though the fix which will result
> out of this will probably have to change some more parts of the
> root/dbpath detection code.

Do you need to put tag files on the system's root directory?

Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]