Hi Eric, please be aware that some structs (such as fnodes) are free-style, but most are dictated by RBIL. It's best to use CLUSTER in internal parameters and fields etc. because this is either 16 or 32 bits. Just like those freedos specific open flags they are completely kernel-internal and have no meaning to the outside world.
However, when mirroring an RBIL-dictated structure we should use ULONG (which is FD kernel speak for a 32 bit unsigned integer, I'm not terribly happy about the naming, but hey, we know what it means and what it does by now), it can never be 16-bits. Using CLUSTER there would just be obscuring things -- what if some weirdo makes CLUSTER 64 bits? It would completely break the mirroring. Also be careful with LSEEK. The offset you feed to it really is signed -- on the other hand with two-s complement it doesn't really matter. The Not Yet Implemented part about this >2GB files thingy is that "normally" opened files have to fail reads and writes if the current offset is beyond 2GB, perhaps also int21/ah=3d should refuse opening files > 2GB. A special flag for int21/ah=6c is needed to enable >2Gb opens. Bart ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel