Starting to run my new unit tests on Linux and I've hit an interesting
difference between Windows and Linux. On Windows, the SysFileMove()
function fails if the target file exists, but on Linux, the rename()
function appears to work on the rename, which was unexpected. The docs for
the rename() function aren't really clear about that situation. Is that
expected?

Interestingly, the old rexxutil code had a test for the new and the old
files resolving to the same target, which the rename() docs explicitly
allow. So we have one situation where an error is expected and another
where an error is returned that would be allowed by the system. Does
anybody have thoughts on how this should work?

Rick
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to