version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.28 2003/10/09 07:21:03 mwedel Exp $"; | | * "$Id: arch.c,v 1.29 2003/10/27 07:24:13 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
else if (!strcasecmp(cp,query_base_name(op,1))) retval=16; | | else if (!strcasecmp(cp,query_base_name(op,1))) retval=16; |
else if (op->custom_name && !strcasecmp(cp,op->custom_name)) retval=15; | | else if (op->custom_name && !strcasecmp(cp,op->custom_name)) retval=15; |
else if (!strncasecmp(cp,query_base_name(op,0), | | else if (!strncasecmp(cp,query_base_name(op,0), |
MIN(strlen(cp),strlen(query_base_name(op,0))))) retval=14; | | strlen(cp))) retval=14; |
else if (!strncasecmp(cp,query_base_name(op,1), | | else if (!strncasecmp(cp,query_base_name(op,1), |
MIN(strlen(cp),strlen(query_base_name(op,1))))) retval=14; | | strlen(cp))) retval=14; |
| | |
/* Do substring checks, so things like 'Str+1' will match. | | /* Do substring checks, so things like 'Str+1' will match. |
* retval of these should perhaps be lower - they are lower | | * retval of these should perhaps be lower - they are lower |