From c2dfee12a329bfe0fb526329364c7a69c9b17fef Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 17 Mar 2013 18:58:28 +0000 Subject: [PATCH] Fixed old bug (#1494) in system function 66, reported by mikedld. Set default extension of kernel to ".mnt" git-svn-id: svn://kolibrios.org@3383 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index f4b19ad82b..bb48459c54 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -66,6 +66,8 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +format binary as "mnt" + include 'macros.inc' include 'struct.inc' @@ -4742,7 +4744,8 @@ align 4 mov [eax], edx mov [ecx], eax mov [eax+12], ecx - jecxz @f + test edx, edx + jz @f mov [edx+12], eax @@: and dword [esp+32], 0