925 |
else if (strcmp(argv[op], "-C") == 0) |
else if (strcmp(argv[op], "-C") == 0) |
926 |
{ |
{ |
927 |
int rc; |
int rc; |
928 |
|
unsigned long int lrc; |
929 |
printf("PCRE version %s\n", pcre_version()); |
printf("PCRE version %s\n", pcre_version()); |
930 |
printf("Compiled with\n"); |
printf("Compiled with\n"); |
931 |
(void)pcre_config(PCRE_CONFIG_UTF8, &rc); |
(void)pcre_config(PCRE_CONFIG_UTF8, &rc); |
944 |
printf(" Internal link size = %d\n", rc); |
printf(" Internal link size = %d\n", rc); |
945 |
(void)pcre_config(PCRE_CONFIG_POSIX_MALLOC_THRESHOLD, &rc); |
(void)pcre_config(PCRE_CONFIG_POSIX_MALLOC_THRESHOLD, &rc); |
946 |
printf(" POSIX malloc threshold = %d\n", rc); |
printf(" POSIX malloc threshold = %d\n", rc); |
947 |
(void)pcre_config(PCRE_CONFIG_MATCH_LIMIT, &rc); |
(void)pcre_config(PCRE_CONFIG_MATCH_LIMIT, &lrc); |
948 |
printf(" Default match limit = %d\n", rc); |
printf(" Default match limit = %ld\n", lrc); |
949 |
(void)pcre_config(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &rc); |
(void)pcre_config(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &lrc); |
950 |
printf(" Default recursion depth limit = %d\n", rc); |
printf(" Default recursion depth limit = %ld\n", lrc); |
951 |
(void)pcre_config(PCRE_CONFIG_STACKRECURSE, &rc); |
(void)pcre_config(PCRE_CONFIG_STACKRECURSE, &rc); |
952 |
printf(" Match recursion uses %s\n", rc? "stack" : "heap"); |
printf(" Match recursion uses %s\n", rc? "stack" : "heap"); |
953 |
goto EXIT; |
goto EXIT; |