Ignore:
Timestamp:
Mar 11, 2009, 9:14:55 AM (16 years ago)
Author:
Paul Smedley
Message:

Add 'missing' 3.0.34 diffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/smbd/trans2.c

    r159 r165  
    205205        }
    206206
    207         if (sizeret == -1){
    208                 return NULL;}
     207        if (sizeret == -1)
     208                return NULL;
    209209
    210210        DEBUG(10,("get_ea_list_from_file: ea_namelist size = %u\n", (unsigned int)sizeret ));
     
    303303        size_t total_ea_len = 0;
    304304        TALLOC_CTX *mem_ctx = NULL;
     305
    305306        if (!lp_ea_support(SNUM(conn))) {
    306307                return 0;
     
    865866                        return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
    866867                }
    867         } else if (IVAL(pdata,0) != 4) {
    868                 return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
    869868        }
    870869
     
    977976        if (mask[0] == '.' && mask[1] == 0)
    978977                return False;
     978        if (dptr_has_wild(conn->dirptr)) {
     979                return False;
     980        }
    979981        if (conn->case_sensitive)
    980982                return strcmp(str,mask)==0;
    981         if (StrCaseCmp(str,mask) != 0) {
    982                 return False;
    983         }
    984         if (dptr_has_wild(conn->dirptr)) {
    985                 return False;
    986         }
    987         return True;
     983        else
     984                return StrCaseCmp(str,mask) == 0;
    988985}
    989986
     
    41624159                        fsp_set_pending_modtime(fsp, ts[1]);
    41634160                }
     4161
    41644162        }
    41654163#ifdef __OS2__
     
    61906188                return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
    61916189        }
     6190        /* If total_data == 4 Windows doesn't care what values
     6191         * are placed in that field, it just ignores them.
     6192         * The System i QNTC IBM SMB client puts bad values here,
     6193         * so ignore them. */
    61926194
    61936195        status = create_directory(conn, directory);
Note: See TracChangeset for help on using the changeset viewer.