Lucho
diff -ruN cvs/kernel/kernel/dosnames.c src/kernel/kernel/dosnames.c --- cvs/kernel/kernel/dosnames.c 2004-03-07 14:59:38.000000000 +0200 +++ src/kernel/kernel/dosnames.c 2004-03-11 07:42:24.000000000 +0200 @@ -107,18 +107,7 @@ }
if (nFileCnt == 0)
- {
-/* Lixing Yuan Patch */
- if (bAllowWildcards) /* for find first */
- {
- if (*filename != '\0')
- return DE_FILENOTFND;
- memset(fcbname, '?', FNAME_SIZE + FEXT_SIZE);
- return nDirCnt;
- }
- else
- return DE_FILENOTFND;
- }
+ return (bAllowWildcards && *filename == '\0') ? DE_NFILES : DE_PATHNOTFND;
/* Now we have pointers set to the directory portion and the */ /* file portion. Now determine the existance of an extension. */
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
