Rev 2586 | Rev 3296 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2586 | Rev 2625 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. 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: 2586 $ |
8 | $Revision: 2625 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 185... | Line 185... | ||
185 | lea esi, [eax+1] |
185 | lea esi, [eax+1] |
186 | test eax, eax |
186 | test eax, eax |
187 | jnz @F |
187 | jnz @F |
188 | lea esi, [filename] |
188 | lea esi, [filename] |
189 | @@: |
189 | @@: |
190 | mov ecx, 8; 8 chars for name |
190 | mov ecx, 11 ; 11 chars for name! 8 - is old value! |
191 | mov edi, [slot_base] |
191 | mov edi, [slot_base] |
192 | .copy_process_name_loop: |
192 | .copy_process_name_loop: |
193 | lodsb |
193 | lodsb |
194 | cmp al, '.' |
194 | cmp al, '.' |
195 | jz .copy_process_name_done |
195 | jz .copy_process_name_done |