/kernel/trunk/fs/ntfs.inc |
---|
942,6 → 942,18 |
pop edi ecx eax |
ret |
unichar_toupper: |
push eax |
call uni2ansi_char |
cmp al, '_' |
jz .unk |
add esp, 4 |
call char_toupper |
jmp ansi2uni_char |
.unk: |
pop eax |
ret |
ntfs_find_lfn: |
; in: esi+ebp -> name |
; out: CF=1 - file not found |
1030,8 → 1042,7 |
push edi |
@@: |
lodsw |
call uni2ansi_char |
call char_toupper |
call unichar_toupper |
push eax |
mov al, [edi] |
inc edi |
1038,7 → 1049,8 |
cmp al, '/' |
jz .slash |
call char_toupper |
cmp al, [esp] |
call ansi2uni_char |
cmp ax, [esp] |
pop eax |
loopz @b |
jz .found |