[BACK]Return to apropos.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/Attic/apropos.c between version 1.20 and 1.21

version 1.20, 2014/01/06 03:02:39 version 1.21, 2014/04/11 15:45:39
Line 92 
Line 92 
         search.flags = whatis ? MANSEARCH_WHATIS : 0;          search.flags = whatis ? MANSEARCH_WHATIS : 0;
   
         manpath_parse(&paths, conf_file, defpaths, auxpaths);          manpath_parse(&paths, conf_file, defpaths, auxpaths);
           mansearch_setup(1);
         ch = mansearch(&search, &paths, argc, argv, outkey, &res, &sz);          ch = mansearch(&search, &paths, argc, argv, outkey, &res, &sz);
         manpath_free(&paths);          manpath_free(&paths);
   
Line 107 
Line 108 
         }          }
   
         free(res);          free(res);
           mansearch_setup(0);
         return(sz ? EXIT_SUCCESS : EXIT_FAILURE);          return(sz ? EXIT_SUCCESS : EXIT_FAILURE);
 usage:  usage:
         fprintf(stderr, "usage: %s [-C file] [-M path] [-m path] "          fprintf(stderr, "usage: %s [-C file] [-M path] [-m path] "

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21