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:
parent
3eac7d3c19
commit
39e6b427f4
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user