Subversion Repositories Kolibri OS

Rev

Rev 4607 | Rev 7446 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4607 Rev 5146
Line 291... Line 291...
291
	jae	.sucess
291
	jae	.sucess
292
@@:
292
@@:
293
	dec	ecx
293
	dec	ecx
294
	jnz	.next_entry
294
	jnz	.next_entry
295
;--------------------------------------
295
;--------------------------------------
296
	DEBUGF	2, "Searchap: additional parttition is not found!\n"
296
	DEBUGF	2, "Searchap: additional partition is not found!\n"
297
;--------------------------------------
297
;--------------------------------------
298
	ret
298
	ret
299
.sucess:
299
.sucess:
300
	call	compare_files_and_mount
300
	call	compare_files_and_mount
301
	cmp	[compare_flag],byte 0
301
	cmp	[compare_flag],byte 0
Line 321... Line 321...
321
	dec	ecx
321
	dec	ecx
322
	jnz	.next_char
322
	jnz	.next_char
323
	mov	[compare_flag],byte 0
323
	mov	[compare_flag],byte 0
324
	pop	esi ecx
324
	pop	esi ecx
325
;--------------------------------------
325
;--------------------------------------
326
	DEBUGF	2, "Searchap: compare files sucess!\n"
326
	DEBUGF	2, "Searchap: compare files - success!\n"
327
	DEBUGF	2, "Searchap: mount directory: %s\n",esi
327
	DEBUGF	2, "Searchap: mount directory: %s\n",esi
328
	mov	[mount_dir],1
328
	mov	[mount_dir],1
329
;--------------------------------------
329
;--------------------------------------
330
; prepare real directory path for mounting
330
; prepare real directory path for mounting
331
	inc	esi
331
	inc	esi
Line 345... Line 345...
345
;--------------------------------------
345
;--------------------------------------
346
.not_match:
346
.not_match:
347
	mov	[compare_flag],byte 1
347
	mov	[compare_flag],byte 1
348
	pop	esi ecx
348
	pop	esi ecx
349
;--------------------------------------
349
;--------------------------------------
350
	DEBUGF	1, "Searchap: compare files is not match!\n"
350
	DEBUGF	1, "Searchap: compared files doesn't match!\n"
351
;--------------------------------------
351
;--------------------------------------
352
	ret
352
	ret
353
;---------------------------------------------------------------------
353
;---------------------------------------------------------------------
354
copy_folder_name:
354
copy_folder_name:
355
	mov	edi,read_folder_name+1
355
	mov	edi,read_folder_name+1