/[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.43 by shigio, Thu Mar 31 14:57:48 2005 UTC revision 1.44 by shigio, Sat Apr 2 01:08:32 2005 UTC
# Line 360  generate_file(dist, file) Line 360  generate_file(dist, file)
360          if (regcomp(&preg, strbuf_value(sb), REG_EXTENDED) != 0)          if (regcomp(&preg, strbuf_value(sb), REG_EXTENDED) != 0)
361                  die("cannot compile regular expression.");                  die("cannot compile regular expression.");
362          /*          /*
363           * construct skelton file name in the system datadir directory.           * construct skeleton file name in the system datadir directory.
364           */           */
365          strbuf_reset(sb);          strbuf_reset(sb);
366          strbuf_sprintf(sb, "%s/gtags/%s.tmpl", datadir, file);          strbuf_sprintf(sb, "%s/gtags/%s.tmpl", datadir, file);
367          ip = fopen(strbuf_value(sb), "r");          ip = fopen(strbuf_value(sb), "r");
368          if (!ip)          if (!ip)
369                  die("skelton file '%s' not found.", strbuf_value(sb));                  die("skeleton file '%s' not found.", strbuf_value(sb));
370          op = fopen(makepath(dist, file, NULL), "w");          op = fopen(makepath(dist, file, NULL), "w");
371          if (!op)          if (!op)
372                  die("cannot create file '%s'.", file);                  die("cannot create file '%s'.", file);

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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