From 9d482e5994075f37a2be7bfac570ca4638a8fd7a Mon Sep 17 00:00:00 2001 From: vkos Date: Mon, 9 Mar 2009 14:45:14 +0000 Subject: [PATCH] Launch 0.1.4. Fixed launching with arguments. git-svn-id: svn://kolibrios.org@1050 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/launch/trunk/launch.asm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/programs/system/launch/trunk/launch.asm b/programs/system/launch/trunk/launch.asm index 7f638b26cf..50a87ad31e 100755 --- a/programs/system/launch/trunk/launch.asm +++ b/programs/system/launch/trunk/launch.asm @@ -18,7 +18,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; APP_NAME fix 'Launch' -APP_VERSION fix '0.1.3' +APP_VERSION fix '0.1.4' use32 org 0x0 @@ -163,13 +163,21 @@ parse_args: mov ecx, -1 mov edi, args mov al, ' ' + xor bl, bl ;cld repe scasb push edi mov ecx, -1 - repne scasb +@@: + scasb + je @f + xchg al, bl + dec edi + scasb + jne @b +@@: mov dword [prog_args], edi pop edi