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

Diff of /global/htags/htags.c

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

revision 1.24 by shigio, Fri Oct 29 09:47:30 2004 UTC revision 1.25 by shigio, Sat Oct 30 13:03:45 2004 UTC
# Line 1721  main(argc, argv) Line 1721  main(argc, argv)
1721                   * replace G*** tag files.                   * replace G*** tag files.
1722                   */                   */
1723                  for (i = GPATH; i < GTAGLIM; i++) {                  for (i = GPATH; i < GTAGLIM; i++) {
                         char path[MAXPATHLEN];  
1724                          const char *name = dbname(i);                          const char *name = dbname(i);
1725    
1726                          if (test("f", makepath(dbpath, name, NULL))) {                          if (test("f", makepath(dbpath, name, NULL))) {
1727                                    char path[MAXPATHLEN];
1728    
1729                                  snprintf(path, sizeof(path), "%s/cgi-bin/%s", distpath, name);                                  snprintf(path, sizeof(path), "%s/cgi-bin/%s", distpath, name);
1730                                  unlink(path);                                  unlink(path);
1731                                  snprintf(path, sizeof(path), "%s/cgi-bin", distpath);                                  snprintf(path, sizeof(path), "%s/cgi-bin", distpath);
1732                                  duplicatefile(name, dbpath, makepath(distpath, "cgi-bin", NULL));                                  duplicatefile(name, dbpath, path);
1733                          }                          }
1734                  }                  }
1735          } else {          } else {

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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