/[global]/global/libutil/gtagsop.c
ViewVC logotype

Diff of /global/libutil/gtagsop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.63 by h-iwamoto, Sat Jun 18 16:22:56 2005 UTC revision 1.64 by h-iwamoto, Wed Jun 22 16:40:43 2005 UTC
# Line 540  gtags_delete(gtop, path) Line 540  gtags_delete(gtop, path)
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           */           */

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26