/kernel/trunk/fs/fs_lfn.inc |
---|
444,15 → 444,13 |
.get: ; in: ecx -> buffer, edx = length |
mov esi, edi |
inc esi |
mov edi, ecx |
cmp edx, maxPathLength |
jc @f |
mov edx, maxPathLength |
@@: |
mov al, '/' |
stosb |
mov ecx, edx |
dec ecx |
@@: |
dec ecx |
js @f |
469,6 → 467,7 |
.get16: |
mov esi, edi |
inc esi |
mov edi, ecx |
cmp edx, maxPathLength |
jc @f |
475,10 → 474,7 |
mov edx, maxPathLength |
@@: |
shr edx, 1 |
mov ax, '/' |
stosw |
mov ecx, edx |
dec ecx |
@@: |
dec ecx |
js @f |