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

Diff of /global/global/global.c

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

revision 1.111 by shigio, Tue Oct 25 01:54:30 2005 UTC revision 1.112 by shigio, Thu Oct 27 06:33:34 2005 UTC
# Line 388  main(int argc, char **argv) Line 388  main(int argc, char **argv)
388                  /*                  /*
389                   * We cannot depend on the command PATH, because global(1)                   * We cannot depend on the command PATH, because global(1)
390                   * might be called from WWW server. Since usable() looks for                   * might be called from WWW server. Since usable() looks for
391                   * the command in BINDIR directory first, gnusort need not                   * the command in BINDIR directory first, POSIX_SORT need not
392                   * be in command PATH.                   * be in command PATH.
393                   */                   */
394                  sort = usable("gnusort");                  sort = usable(POSIX_SORT);
395                  if (!sort)                  if (!sort)
396                          die("gnusort not found.");                          die("%s not found.", POSIX_SORT);
397                  sortfilter = strbuf_open(0);                  sortfilter = strbuf_open(0);
398                  strbuf_puts(sortfilter, sort);                  strbuf_puts(sortfilter, sort);
399                  if (sflag) {                  if (sflag) {

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

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