Code 6 / 2 while archive creation in loop
Brought to you by:
andrew_belov
Hello!
If arj is used several times in row to add files to archives in loop - arj creates a temporary file ARJTEMP.$##, where ## - are digits (number of archive). While compressing it can crash in several ways - from code 6 (can not find a file for ex: ** .../ARJTEMP.$02) or code 2 sometimes (can not rename file ** ./ARJTEMP.$03 into ./targetArchive.arj)
Seems to be there is no check if the file is absent or deleted after usage.
One of solutions I see a new key for setting temporary filename. Or simply check if the temp file is already deleted before exiting the process.