fprintf(stderr, "Matching %s, %s %s\n", str, end, tmp);
static int check_end(str, end)char *str;char *end;{	int elen, slen;		char *tmp;	elen = strlen(end);	slen = strlen(str);	if(elen > slen) return 1;	tmp = str + slen - elen;fprintf(stderr, "Matching %s, %s %s\n", str, end, tmp);	return strcmp(tmp, end);}