Rev 6876 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6876 | Rev 9953 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License. ;; |
4 | ;; Distributed under terms of the GNU General Public License. ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 6876 $ |
8 | $Revision: 9953 $ |
9 | 9 | ||
10 | ; NTFS external functions |
10 | ; NTFS external functions |
11 | ; in: |
11 | ; in: |
Line 3477... | Line 3477... | ||
3477 | mov eax, [ebx+4] |
3477 | mov eax, [ebx+4] |
3478 | mov edx, [ebx+8] |
3478 | mov edx, [ebx+8] |
3479 | add eax, [ebx+12] |
3479 | add eax, [ebx+12] |
3480 | adc edx, 0 |
3480 | adc edx, 0 |
3481 | mov [edi+fileRealSize], eax |
3481 | mov [edi+fileRealSize], eax |
- | 3482 | cmp edx, [edi+fileRealSize+4] |
|
- | 3483 | jc @f |
|
- | 3484 | jnz .resize |
|
- | 3485 | cmp [edi+fileRealSize], eax |
|
- | 3486 | jnc @f |
|
- | 3487 | .resize: |
|
- | 3488 | mov [edi+fileRealSize], eax |
|
- | 3489 | mov [edi+fileRealSize+4], edx |
|
- | 3490 | @@: |
|
3482 | mov [edi+fileRealSize+4], edx |
3491 | mov [edi+fileRealSize+4], edx |
3483 | push edx eax ebx |
3492 | push edx eax ebx |
3484 | call ntfsGetTime |
3493 | call ntfsGetTime |
3485 | mov [edi+fileModified], eax |
3494 | mov [edi+fileModified], eax |
3486 | mov [edi+fileModified+4], edx |
3495 | mov [edi+fileModified+4], edx |