[BACK]Return to apropos_db.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/apropos_db.c between version 1.31 and 1.32

version 1.31, 2012/03/24 01:46:25 version 1.32, 2012/03/25 00:48:47
Line 19 
Line 19 
 #include "config.h"  #include "config.h"
 #endif  #endif
   
   #include <sys/param.h>
   
 #include <assert.h>  #include <assert.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <regex.h>  #include <regex.h>
Line 426  apropos_search(int pathsz, char **paths, const struct 
Line 428  apropos_search(int pathsz, char **paths, const struct 
          */           */
   
         for (i = 0; i < pathsz; i++) {          for (i = 0; i < pathsz; i++) {
                   assert('/' == paths[i][0]);
                 if (chdir(paths[i]))                  if (chdir(paths[i]))
                         continue;                          continue;
                 if (single_search(&tree, opts, expr, terms, mc, i))                  if (single_search(&tree, opts, expr, terms, mc, i))

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb