version 1.20, 2011/12/01 23:55:58 |
version 1.24, 2011/12/04 14:23:29 |
|
|
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
#ifdef __linux__ |
#if defined(__linux__) |
|
# include <endian.h> |
# include <db_185.h> |
# include <db_185.h> |
|
#elif defined(__APPLE__) |
|
# include <libkern/OSByteOrder.h> |
|
# include <db.h> |
#else |
#else |
# include <db.h> |
# include <db.h> |
#endif |
#endif |
Line 1413 ofile_argbuild(int argc, char *argv[], struct of **of) |
|
Line 1417 ofile_argbuild(int argc, char *argv[], struct of **of) |
|
*p = '\0'; |
*p = '\0'; |
continue; |
continue; |
} |
} |
if (strncmp("man", p + 1, 3)) { |
if (0 == strncmp("man", p + 1, 3)) |
src_form |= MANDOC_SRC; |
src_form |= MANDOC_SRC; |
arch = p + 1; |
else if (0 == strncmp("cat", p + 1, 3)) |
} else if (strncmp("cat", p + 1, 3)) { |
|
src_form |= MANDOC_FORM; |
src_form |= MANDOC_FORM; |
|
else |
arch = p + 1; |
arch = p + 1; |
} |
|
break; |
break; |
} |
} |
if (NULL == title) |
if (NULL == title) |