540 |
GTOP *gtop; |
GTOP *gtop; |
541 |
const char *path; |
const char *path; |
542 |
{ |
{ |
543 |
const char *p; |
const char *p, *fid; |
544 |
/* |
/* |
545 |
* In compact format, a path is saved as a file number. |
* In compact format, a path is saved as a file number. |
546 |
*/ |
*/ |
547 |
if (gtop->format & GTAGS_PATHINDEX) |
if (gtop->format & GTAGS_PATHINDEX) { |
548 |
if ((path = gpath_fid2path(path)) == NULL) |
if ((fid = gpath_path2fid(path)) == NULL) |
549 |
die("GPATH is corrupted.('%s' not found)", path); |
die("GPATH is corrupted.('%s' not found)", path); |
550 |
|
path = fid; |
551 |
|
} |
552 |
/* |
/* |
553 |
* read sequentially, because db(1) has just one index. |
* read sequentially, because db(1) has just one index. |
554 |
*/ |
*/ |