sysfunction 70.10 new name validation

git-svn-id: svn://kolibrios.org@7040 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2017-10-03 10:27:20 +00:00
parent 41838ddb4c
commit cb0c6cee9a

View File

@ -1509,9 +1509,11 @@ dyndisk_handler:
pop edi ebp pop edi ebp
mov byte [edi], '/' mov byte [edi], '/'
popd [ebp] edi esi ebx popd [ebp] edi esi ebx
add edi, 2
test eax, eax test eax, eax
jz .errorRename jz .errorRename
add edi, 2 cmp byte [edi], 0
jz .errorRename
.callFS: .callFS:
pop eax ebp pop eax ebp
call eax call eax