• deuce's avatar
    Change to make fexistcase() *NOT* call fexist() under *nix if wildcard · 9f0ffff2
    deuce authored
    (* or ?) chars are present.  Doing so prevents re-writing of the path
    parameter, so behaviour is different between the two.
    
    This would break something like:
    int munlink(char *glob)
    {
            char    this[MAX_PATH+1];
    
            strcpy(this,glob);
            while(fexistcase(this)) {
                    unlink(this);
                    strcpy(this,glob);
            }
    }
    
    Does Synchronet rely on the old behaviour anywhere?
    9f0ffff2