Hi dos386!

> I possibly know what the problem is (re-confirmed with FD 2038 and EDR
> 2009-03-28) :

... thanks for debugging IUP :-)

> UI21DEB 2009-05-02 CFG: sel=<> hcb=$0400 ver=$3205 dcm=$02FB fif=$0000

... sorry I do not understand the long trace ...

> 1. For AH=$5A, EDR-DOS appends slash, FreeDOS doesn't ... what is more valid 
> ???

FreeDOS 2038 is VERSION number sensitive in int 21.5a create temp file:

(text snippet from RBIL int 21.5a create temporary file)

>> AH = 5Ah CX = file attribute (see #01420 at AX=4301h)
>> DS:DX -> ASCIZ path ending with a '\' + 13 zero bytes to
>> receive the generated filename

>> Return: CF clear if successful
>> AX = file handle opened for read/write in compatibility mode
>> DS:DX pathname extended with generated name for temporary file

>> MS-DOS 5.0 and DR DOS 3.41/5.0 will insert a missing trailing
>> backslash before appending the generated filename, but due to
>> this, an empty string results in a file in the root directory

If you set VERSION to something different than 5.xx in config sys
then FreeDOS will behave in the more common DOS 3/4/6/7 style :-)

> 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 ??? Then it deletes the original file and renames
> the (still opened) temp file to original name [2] ... and leaves both
> (!!!) files present in the directory and empty ... and additionally a
> dead cluster chain :-(

Please explain.

Eric



------------------------------------------------------------------------------
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

Reply via email to