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

Diff of /global/htags/fileindex.c

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

revision 1.47 by h-iwamoto, Wed Oct 19 14:32:53 2005 UTC revision 1.48 by shigio, Thu Oct 27 06:33:35 2005 UTC
# Line 593  makefileindex(const char *file, STRBUF * Line 593  makefileindex(const char *file, STRBUF *
593          const char *target = (Fflag) ? "mains" : "_top";          const char *target = (Fflag) ? "mains" : "_top";
594          struct dirstack *dirstack = make_stack("dirstack");          struct dirstack *dirstack = make_stack("dirstack");
595          struct dirstack *fdstack = make_stack("fdstack");          struct dirstack *fdstack = make_stack("fdstack");
596          const char *command = (other_files) ? "gtags --find --other | gnusort -t / -k 2"          char command[MAXFILLEN];
                                         : "gtags --find";  
597          struct dirstack *push = make_stack("push");          struct dirstack *push = make_stack("push");
598          struct dirstack *pop = make_stack("pop");          struct dirstack *pop = make_stack("pop");
599          /*          /*
# Line 603  makefileindex(const char *file, STRBUF * Line 602  makefileindex(const char *file, STRBUF *
602          int flags = REG_EXTENDED;          int flags = REG_EXTENDED;
603          regex_t is_include_file;          regex_t is_include_file;
604    
605            if (other_files)
606                    snprintf(command, sizeof(command), "gtags --find --other | %s -t / -k 2", POSIX_SORT);
607            else
608                    snprintf(command, sizeof(command), "gtags --find");
609          if (w32)          if (w32)
610                  flags |= REG_ICASE;                  flags |= REG_ICASE;
611          strbuf_reset(sb);          strbuf_reset(sb);

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

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