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

Diff of /global/gtags/gtags.c

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

revision 1.109 by shigio, Fri Apr 8 11:11:31 2005 UTC revision 1.110 by h-iwamoto, Fri May 6 13:37:04 2005 UTC
# Line 288  main(argc, argv) Line 288  main(argc, argv)
288                   * Read line from stdin and replace " ./<file name> "                   * Read line from stdin and replace " ./<file name> "
289                   * with the file number like this.                   * with the file number like this.
290                   *                   *
291                   * <A HREF="http://xxx/global/S/ ./main.c .html#110">main</A>\n                   * <a href='http://xxx/global/S/ ./main.c .html#110'>main</a>\n
292                   *                              |                   *                              |
293                   *                              v                   *                              v
294                   * <A HREF="http://xxx/global/S/39.html#110">main</A>\n                   * <a href='http://xxx/global/S/39.html#110'>main</a>\n
295                   *                   *
296                   * If the file name is not found in GPATH, change into the path to CGI script.                   * If the file name is not found in GPATH, change into the path to CGI script.
297                   * <A HREF="http://xxx/global/S/ ./README .html#9">main</A>\n                   * <a href='http://xxx/global/S/ ./README .html#9'>main</a>\n
298                   *                              |                   *                              |
299                   *                              v                   *                              v
300                   * <A HREF="http://xxx/global/cgi-bin/global.cgi?pattern=README&type=source#9">main</A>\n                   * <a href='http://xxx/global/cgi-bin/global.cgi?pattern=README&amp;type=source#9'>main</a>\n
301                   */                   */
302                  if (gpath_open(".", 0, 0) < 0)                  if (gpath_open(".", 0, 0) < 0)
303                          die("GPATH not found.");                          die("GPATH not found.");
# Line 343  main(argc, argv) Line 343  main(argc, argv)
343                                          else                                          else
344                                                  printf("%%%02x", c);                                                  printf("%%%02x", c);
345                                  }                                  }
346                                  fputs("&type=source", stdout);                                  fputs("&amp;type=source", stdout);
347                                  for (; *q && *q != '#'; q++)                                  for (; *q && *q != '#'; q++)
348                                          ;                                          ;
349                                  if (*q == '\0') {                                  if (*q == '\0') {

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

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