/[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.27 by shigio, Wed Nov 3 13:31:48 2004 UTC revision 1.28 by shigio, Sun Nov 7 12:24:11 2004 UTC
# Line 723  makehtml(total) Line 723  makehtml(total)
723          STRBUF *sb = strbuf_open(0);          STRBUF *sb = strbuf_open(0);
724    
725          if (other_files && !dynamic)          if (other_files && !dynamic)
726                  snprintf(command, sizeof(command), "%s --other | sort -t / -k 2", findcom);                  snprintf(command, sizeof(command), "%s --other | gnusort -t / -k 2", findcom);
727          else          else
728                  strlimcpy(command, findcom, sizeof(command));                  strlimcpy(command, findcom, sizeof(command));
729          ip = popen(command, "r");          ip = popen(command, "r");
# Line 855  makecommonpart(title, defines, files) Line 855  makecommonpart(title, defines, files)
855          }          }
856          strbuf_puts(sb, "<H2>MAINS</H2>\n");          strbuf_puts(sb, "<H2>MAINS</H2>\n");
857    
858          snprintf(command, sizeof(command), "%s -nx %s | sort -k 1,1 -k 3,3 -k 2,2n", global_path, main_func);          snprintf(command, sizeof(command), "%s -nx %s | gnusort -k 1,1 -k 3,3 -k 2,2n", global_path, main_func);
859          ip = popen(command, "r");          ip = popen(command, "r");
860          if (!ip)          if (!ip)
861                  die("cannot execute command '%s'.", command);                  die("cannot execute command '%s'.", command);
# Line 907  basic_check() Line 907  basic_check()
907          /*          /*
908           * COMMAND EXISTENCE CHECK           * COMMAND EXISTENCE CHECK
909           */           */
910          if (!(p = usable("sort")))          if (!(p = usable("gnusort")))
911                  die("sort command required but not found.");                  die("gnusort command required but not found.");
912          strlimcpy(sort_path, p, sizeof(sort_path));          strlimcpy(sort_path, p, sizeof(sort_path));
913          if (!(p = usable("gtags")))          if (!(p = usable("gtags")))
914                  die("gtags command required but not found.");                  die("gtags command required but not found.");

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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