Lucho
diff -ruN cvs/kernel/kernel/dosnames.c src/kernel/kernel/dosnames.c --- cvs/kernel/kernel/dosnames.c2004-03-07 14:59:38.000000000 +0200 +++ src/kernel/kernel/dosnames.c2004-03-13 12:07:20.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. */
diff -ruN cvs/kernel/sys/talloc.c src/kernel/sys/talloc.c
--- cvs/kernel/sys/talloc.c2004-02-07 19:59:44.000000000 +0200
+++ src/kernel/sys/talloc.c2004-03-12 15:54:14.000000000 +0200
@@ -83,11 +83,11 @@
}
dbprintf(("follow [%x] = %x\n",akt, akt->length));
next = (block *)(&akt->data[akt->length & ~BUSY]);
- if (next == ltop || isbusy(akt))
+ if (isbusy(akt))
{
akt = next; /* next block */
}
- else if (isbusy(next))
+ else if (next == ltop || isbusy(next))
{
size_t size = akt->length;
if (size >= length) /* try to split */
------------------------------------------------------- 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
