From 39e6b427f44ce48933a57c9eef5a2374dfd50fc4 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Mon, 24 May 2004 11:42:28 +0000 Subject: [PATCH] Fixed new bugs caused by typos. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@955 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/fcbfns.c | 2 +- kernel/inthndlr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/fcbfns.c b/kernel/fcbfns.c index 253c430..a74795e 100644 --- a/kernel/fcbfns.c +++ b/kernel/fcbfns.c @@ -573,7 +573,7 @@ UBYTE FcbRename(xfcb FAR * lpXfcb) LocalFcb.fcb_drive = FcbDrive; FcbNameInit(&LocalFcb, loc_szBuffer, &FcbDrive); result = truename(loc_szBuffer, SecPathName, 0); - if (result < SUCCESS || (result & (IS_NETWORK|IS_DEVICE) == IS_DEVICE) + if (result < SUCCESS || (result & (IS_NETWORK|IS_DEVICE)) == IS_DEVICE || DosRenameTrue(PriPathName, SecPathName, wAttr) != SUCCESS) { result = FCB_ERROR; diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index 75d145e..95401db 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -864,7 +864,7 @@ dispatch: case 0x39: /* Dos Remove Directory */ case 0x3a: - rc = DosMkRmdir(FP_DS_DX, lr.AL); + rc = DosMkRmdir(FP_DS_DX, lr.AH); goto short_check; /* Dos Change Directory */