version 1.28, 2012/03/24 01:46:25 |
version 1.30, 2012/03/24 02:18:51 |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
|
#include <unistd.h> |
|
|
#include "apropos_db.h" |
#include "apropos_db.h" |
#include "mandoc.h" |
#include "mandoc.h" |
Line 142 main(int argc, char *argv[]) |
|
Line 143 main(int argc, char *argv[]) |
|
} |
} |
|
|
if (--terms < ressz && res[terms].matched) { |
if (--terms < ressz && res[terms].matched) { |
|
chdir(paths.paths[res[terms].volume]); |
strlcpy(path, res[terms].file, PATH_MAX); |
strlcpy(path, res[terms].file, PATH_MAX); |
usecat = RESTYPE_CAT == res[terms].type; |
usecat = RESTYPE_CAT == res[terms].type; |
} |
} |