/[global]/global/htags/path2url.c
ViewVC logotype

Diff of /global/htags/path2url.c

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

revision 1.10 by shigio, Tue Oct 4 07:59:04 2005 UTC revision 1.11 by shigio, Sat Nov 5 14:07:10 2005 UTC
# Line 55  load_gpath(const char *dbpath) Line 55  load_gpath(const char *dbpath)
55          if (dbop == NULL)          if (dbop == NULL)
56                  die("cannot open '%s'.", makepath(dbpath, dbname(GPATH), NULL));                  die("cannot open '%s'.", makepath(dbpath, dbname(GPATH), NULL));
57          for (path = dbop_first(dbop, "./", NULL, DBOP_PREFIX | DBOP_KEY); path; path = dbop_next(dbop)) {          for (path = dbop_first(dbop, "./", NULL, DBOP_PREFIX | DBOP_KEY); path; path = dbop_next(dbop)) {
58                  const char *no = dbop_lastdat(dbop);                  const char *no = dbop_lastdat(dbop, NULL);
59    
60                  path += 2;                      /* remove './' */                  path += 2;                      /* remove './' */
61                  assoc_put(assoc, path, no);                  assoc_put(assoc, path, no);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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