--- newstuff.c 24 Sep 2003 19:34:11 -0000 1.31 +++ newstuff.c 7 Feb 2004 18:16:27 -0000 1.32 @@ -602,10 +602,11 @@ } /* nothing found => continue normally */ } - if ((mode & CDS_MODE_CHECK_DEV_PATH) && (result & IS_DEVICE) && - !(result & IS_NETWORK) && dest[2] != '/' && !dir_exists(dest)) + if ((mode & CDS_MODE_CHECK_DEV_PATH) && + ((result & (IS_DEVICE|IS_NETWORK)) == IS_DEVICE) && + dest[2] != '/' && !dir_exists(dest)) return DE_PATHNOTFND; - + tn_printf(("Physical path: \"%s\"\n", dest)); return result; }
Thanks for applying my patches, Bart! I see you improved some of them - great! But I have to note that the above patch does NOT fix the EJECT bug! ONLY when I appied the patch at my http://linux.tu-varna.acad.bg/~lig/freedos/CVSPATCH.TXT to your latest CVS kernel was the EJECT bug fixed:
--- cvs/kernel/kernel/dosfns.c 2004-01-27 20:07:26.000000000 +0200 +++ src/kernel/kernel/dosfns.c 2004-02-05 15:36:08.000000000 +0200 @@ -538,7 +538,7 @@ sftp->sft_shroff = -1; /* /// Added for SHARE - Ron Cemer */ sftp->sft_attrib = attrib = attrib | D_ARCHIVE;
- if (result & IS_NETWORK) + if ((result & (IS_NETWORK | IS_DEVICE)) == IS_NETWORK) { int status; if ((flags & (O_TRUNC | O_CREAT)) == O_CREAT)
As to the other funny printf "patch", it's only a temporary solution until I find the reason why Borland 80386 build hangs if any INSTALL= commands were processed, just before kernel() enters...
Lucho
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel