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
This commit is contained in:
Bart Oldeman 2004-05-24 11:42:28 +00:00
parent 3eac7d3c19
commit 39e6b427f4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 */