wild = TRUE;
wild = true;
Dir_HasWildcards(name)    const char		*name;	/* name to check */{    const char		*cp;    Boolean		wild = FALSE;    unsigned long	brace = 0, bracket = 0;    for (cp = name; *cp != '\0'; cp++) {	switch (*cp) {	case '{':	    brace++;	    wild = TRUE;	    break;	case '}':	    if (brace == 0)		return FALSE;	    brace--;	    break;	case '[':	    bracket++;	    wild = TRUE;	    break;	case ']':	    if (bracket == 0)		return FALSE;	    bracket--;	    break;	case '?':	case '*':	    wild = TRUE;	    break;	default:	    break;	}    }    return wild && bracket == 0 && brace == 0;}