From 5f91a2a1f4f73bbecdfaae0d96e5e8d8f9189623 Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Mon, 26 Sep 2016 17:14:06 +0000 Subject: [PATCH] Fix for sysfunctions 30.2 and 30.4 git-svn-id: svn://kolibrios.org@6534 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fs/fs_lfn.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/trunk/fs/fs_lfn.inc b/kernel/trunk/fs/fs_lfn.inc index e88ab9cf5d..b320786348 100644 --- a/kernel/trunk/fs/fs_lfn.inc +++ b/kernel/trunk/fs/fs_lfn.inc @@ -444,15 +444,13 @@ sys_current_directory: ; sysfunction 30 .get: ; in: ecx -> buffer, edx = length mov esi, edi + inc esi mov edi, ecx cmp edx, maxPathLength jc @f mov edx, maxPathLength @@: - mov al, '/' - stosb mov ecx, edx - dec ecx @@: dec ecx js @f @@ -469,16 +467,14 @@ sys_current_directory: ; sysfunction 30 .get16: mov esi, edi + inc esi mov edi, ecx cmp edx, maxPathLength jc @f mov edx, maxPathLength @@: shr edx, 1 - mov ax, '/' - stosw mov ecx, edx - dec ecx @@: dec ecx js @f