Fix compilation with Turbo C.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1411 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2009-05-29 00:50:28 +00:00
parent 5b46738372
commit 2fb8715bdc

View File

@ -297,13 +297,9 @@ f_node_ptr split_path(char * path, char * fcbname, f_node_ptr fnp)
/* checks whether directory part of path exists */
BOOL dir_exists(char * path)
{
REG f_node_ptr fnp;
char fcbname[FNAME_SIZE + FEXT_SIZE];
if ((fnp = split_path(path, fcbname, &fnode[0])) == NULL)
return FALSE;
return TRUE;
return split_path(path, fcbname, &fnode[0]) != NULL;
}
BOOL fcbmatch(const char *fcbname1, const char *fcbname2)