Eliminate DosGetFile -- it is no longer necessary because the filename

is already copied from the fnode.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1407 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2009-05-26 21:09:56 +00:00
parent 9a415b14b2
commit 896908d6f7

View File

@ -138,15 +138,6 @@ struct dpb FAR * GetDriveDPB(UBYTE drive, COUNT * rc)
}
#endif
/* Construct dir-style filename for ASCIIZ 8.3 name */
STATIC VOID DosGetFile(BYTE * lpszPath, BYTE FAR * lpszDosFileName)
{
char fcbname[FNAME_SIZE + FEXT_SIZE];
ParseDosName(lpszPath, fcbname, FALSE);
fmemcpy(lpszDosFileName, fcbname, FNAME_SIZE + FEXT_SIZE);
}
int idx_to_sft_(int SftIndex)
{
/*called from below and int2f/ax=1216*/
@ -591,7 +582,6 @@ long DosOpenSft(char FAR * fname, unsigned flags, unsigned attrib)
return DE_ACCESS;
}
}
DosGetFile(PriPathName, sftp->sft_name);
return sft_idx | ((long)result << 16);
}
else