Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/smbd/mangle_hash.c

    r414 r745  
    2222
    2323#include "includes.h"
     24#include "system/filesys.h"
     25#include "smbd/smbd.h"
    2426#include "smbd/globals.h"
     27#include "mangle.h"
     28#include "util_tdb.h"
    2529
    2630/* -------------------------------------------------------------------------- **
     
    371375        while( magic && magic[1] && magic[2] ) {         /* 3 chars, 1st is magic. */
    372376                if( ('.' == magic[3] || '/' == magic[3] || !(magic[3]))          /* Ends with '.' or nul or '/' ?  */
    373                                 && isbasechar( toupper_ascii(magic[1]) )           /* is 2nd char basechar?  */
    374                                 && isbasechar( toupper_ascii(magic[2]) ) )         /* is 3rd char basechar?  */
     377                                && isbasechar( toupper_m(magic[1]) )           /* is 2nd char basechar?  */
     378                                && isbasechar( toupper_m(magic[2]) ) )         /* is 3rd char basechar?  */
    375379                        return( True );                           /* If all above, then true, */
    376380                magic = strchr_m( magic+1, magic_char );      /*    else seek next magic. */
     
    426430        if( s1 && (s2 = strrchr( raw_name, '.' )) ) {
    427431                size_t i = 1;
    428                 while( s1[i] && (tolower_ascii( s1[i] ) == s2[i]) )
     432                while( s1[i] && (tolower_m( s1[i] ) == s2[i]) )
    429433                        i++;
    430434                if( !s1[i] && !s2[i] ) {
Note: See TracChangeset for help on using the changeset viewer.