Aquileo | Recent changes to 19: Code 6 / 2 while archive creation in loophttps://sourceforge.net/p/arj/bugs/19/2021-01-26T12:14:35.609000ZRecent changes to 19: Code 6 / 2 while archive creation in loopAquileo | Code 6 / 2 while archive creation in loop2021-01-26T12:14:35.609000Z2021-01-26T12:14:35.609000ZEugenehttps://sourceforge.net/u/benchdoos/https://sourceforge.net5b78711631a4645edf426a2effe46396d814fdf7<div class="markdown_content"><p>Hello!<br/>
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: <strong> .../ARJTEMP.$02</strong>) or code 2 sometimes (can not rename file <strong> ./ARJTEMP.$03</strong> into <strong>./targetArchive.arj</strong>)</p>
<p>Seems to be there is no check if the file is absent or deleted after usage.<br/>
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.</p></div>