Changeset 745 for trunk/server/source3/smbd/mangle_hash.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/smbd/mangle_hash.c
r414 r745 22 22 23 23 #include "includes.h" 24 #include "system/filesys.h" 25 #include "smbd/smbd.h" 24 26 #include "smbd/globals.h" 27 #include "mangle.h" 28 #include "util_tdb.h" 25 29 26 30 /* -------------------------------------------------------------------------- ** … … 371 375 while( magic && magic[1] && magic[2] ) { /* 3 chars, 1st is magic. */ 372 376 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? */ 375 379 return( True ); /* If all above, then true, */ 376 380 magic = strchr_m( magic+1, magic_char ); /* else seek next magic. */ … … 426 430 if( s1 && (s2 = strrchr( raw_name, '.' )) ) { 427 431 size_t i = 1; 428 while( s1[i] && (tolower_ ascii( s1[i] ) == s2[i]) )432 while( s1[i] && (tolower_m( s1[i] ) == s2[i]) ) 429 433 i++; 430 434 if( !s1[i] && !s2[i] ) {
Note:
See TracChangeset
for help on using the changeset viewer.