bug-global
[Top][All Lists]
Advanced

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

Re: Added support for file list in single file update


From: dhruva
Subject: Re: Added support for file list in single file update
Date: Thu, 26 Jun 2014 07:46:32 -0700

On Wed, Jun 25, 2014 at 11:21 PM, Shigio YAMAGUCHI <address@hidden> wrote:
>> The below code segment in gtags/gtags.c performs deletion of tags if
>> are present:
>
> It seems OK.
> Prefix '+' is needed?
> Are there any difference between the following two files?
>
>> prefix.files:
>> +path/to/some/file1.cpp
>> +path/to/some/file2.cpp
>> +path/to/some/file3.cpp
>> +path/to/some/file4.cpp
>>
>> non-prefix.files:
>> path/to/some/file1.cpp
>> path/to/some/file2.cpp
>> path/to/some/file3.cpp
>> path/to/some/file4.cpp

Not in user visible out but 'yes' internally. When you give '+', gtags
assumes the file exists on disk without calling stat().
Without the '+', the stat() is called
- If the file does not exist (ENOENT or ESTALE), it is treated as deleted
- If exists, its time stamp is compared (default behavior without my change)

with best regards,
dhruva



reply via email to

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