>> > 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?
>
> YES, but the following rename call apparently recreates the original  
> name,

Yes.

> but without deleting the temp name,

No, the rename call does delete it, but the later (on process termination)  
closing of the handle and SFT returned by 21.5A updates (therefore  
re-creates) the directory entry.

> and both are now empty :-(

I don't know why the original one should be.

> I suspect this behavior could change with recent Bart's large
> SFT&FNODE changes, so the new version will probably need
> many tests anyway and this is one more to pass :-)

An adequate file sharer either won't allow to rename the opened file, or  
update the directory info of the still opened SFT at least so it won't  
re-create the renamed temp file.

Bart's answer is apparently the reason IUP works with MS-DOS, but it's  
still IUP's bug.

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

Reply via email to