| 77 |
|
|
| 78 |
FILE *nfp; /* 全数 */ |
FILE *nfp; /* 全数 */ |
| 79 |
FILE *tfp; /* ↑以外の特殊検索 */ |
FILE *tfp; /* ↑以外の特殊検索 */ |
| 80 |
|
#ifdef CHIN |
| 81 |
|
FILE *cfp; /* ち */ |
| 82 |
|
#endif /* CHIN */ |
| 83 |
#ifdef REON |
#ifdef REON |
| 84 |
FILE *rfp; /* 正規表現 */ |
FILE *rfp; /* 正規表現 */ |
| 85 |
#endif /* REON */ |
#endif /* REON */ |
| 130 |
#endif |
#endif |
| 131 |
|
|
| 132 |
/* MAKAI start */ |
/* MAKAI start */ |
| 133 |
|
#ifdef CHIN |
| 134 |
|
int special = 1; /* ウヒヒヒ */ |
| 135 |
|
#else /* CHIN */ |
| 136 |
int special = 0; |
int special = 0; |
| 137 |
|
#endif /* CHIN */ |
| 138 |
#define ST_ALLN 1 /* 全数 */ |
#define ST_ALLN 1 /* 全数 */ |
| 139 |
#define ST_NIKO 1<<0x1 /* 二構 */ |
#define ST_NIKO 1<<0x1 /* 二構 */ |
| 140 |
#define ST_BUOO 1<<0x8 /* ぶお */ |
#define ST_BUOO 1<<0x8 /* ぶお */ |
| 1436 |
char *trip; |
char *trip; |
| 1437 |
unsigned char *kind; |
unsigned char *kind; |
| 1438 |
{ |
{ |
| 1439 |
|
#ifdef CHIN |
| 1440 |
|
if ( trip[0] == 'C' && trip[1] == 'h' && trip[2] == 'i' && |
| 1441 |
|
trip[3] == 'n' && trip[4] == 'k' && trip[5] == 'o' ) { |
| 1442 |
|
strcpy( kind, "ち" ); |
| 1443 |
|
return( cfp ); |
| 1444 |
|
} |
| 1445 |
|
#endif /* CHIN */ |
| 1446 |
|
|
| 1447 |
if ( special & ST_BUOO ) { |
if ( special & ST_BUOO ) { |
| 1448 |
/* ぶお [A-Za-z]aoo[A-Za-z]uoo$ */ |
/* ぶお [A-Za-z]aoo[A-Za-z]uoo$ */ |
| 1449 |
if ( trip[3] == 'a' && trip[4] == 'o' && trip[5] == 'o' && |
if ( trip[3] == 'a' && trip[4] == 'o' && trip[5] == 'o' && |
| 1668 |
#ifdef REON |
#ifdef REON |
| 1669 |
regExpStr[0] = '\0'; |
regExpStr[0] = '\0'; |
| 1670 |
#endif /* REON */ |
#endif /* REON */ |
| 1671 |
|
fprintf(stderr, "魔キー空間バージョンにつき、シロウトにはおすすめできない。\n"); |
| 1672 |
/* MAKAI end */ |
/* MAKAI end */ |
| 1673 |
|
|
| 1674 |
if (!cpuid_issupported()) |
if (!cpuid_issupported()) |
| 1902 |
return errno; |
return errno; |
| 1903 |
} |
} |
| 1904 |
setvbuf( nfp, NULL, _IONBF, BUFSIZ ); |
setvbuf( nfp, NULL, _IONBF, BUFSIZ ); |
| 1905 |
|
#ifdef CHIN |
| 1906 |
|
if ( (cfp = fopen("logchi.txt", "at")) == NULL ) { |
| 1907 |
|
perror("logchi.txt"); |
| 1908 |
|
return errno; |
| 1909 |
|
} |
| 1910 |
|
setvbuf( cfp, NULL, _IONBF, BUFSIZ ); |
| 1911 |
|
#endif /* CHIN */ |
| 1912 |
#ifdef REON |
#ifdef REON |
| 1913 |
if ( (rfp = fopen("logreg.txt", "at")) == NULL ) { |
if ( (rfp = fopen("logreg.txt", "at")) == NULL ) { |
| 1914 |
perror("logreg.txt"); |
perror("logreg.txt"); |