version 1.31, 2012/03/24 01:46:25 |
version 1.32.2.1, 2013/10/02 21:03:26 |
|
|
#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> |
|
|
# include <libkern/OSByteOrder.h> |
# include <libkern/OSByteOrder.h> |
# include <db.h> |
# include <db.h> |
#else |
#else |
|
# include <sys/endian.h> |
# include <db.h> |
# include <db.h> |
#endif |
#endif |
|
|
Line 426 apropos_search(int pathsz, char **paths, const struct |
|
Line 429 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)) |