> 1. For AH=$5A, EDR-DOS appends slash, FreeDOS doesn't ... what is more > valid ???
Appending is valid. RBIL is wrong. MS-DOS 5+ appends it, not only version 5. > 2. UIP seems to do a very strange thing: it brews a temp file (AH=$5A, > regrettably not > visible above, but there was ONE call to it per attempt), throws away > the handle (!!!), and re-creates the file with $3C [1] ... what is > supposed to happen ??? Apparently some programmer thought 21.5A only creates the file(name) but doesn't open a handle afterwards. Since 21.5A opens the file in Compatibility file sharing mode, and 21.3C does the same, that won't raise an error even if a file sharer was installed (which I suppose isn't). > Then it deletes the original file and renames > the (still opened) temp file to original name [2] ... Yeah, that's bad. A file sharer possibly generates an error here. > and leaves both (!!!) files present in the directory and empty ... Which both do you mean? It deletes the original, so only the temp file still exists? > and additionally a dead cluster chain :-( I see where the handle returned by 21.5A (whichs SFT, thanks to the lack of a file sharer, still contains starting cluster zero) is closed on process termination and overwrites the (renamed or whatever) directory entry, effectively "forgetting" any allocated cluster chain. The rename of the temp file *could* take the directory entry of the deleted original file as destination but why would it overwrite that one with a starting cluster of zero (empty) but not with the temporary filename? Regards, Christian ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel