Now that the sort files can be put in a different directory to the scratch files, (TempDir != TempSortDir), it is not safe to assume that sort files can be created with the same base filename.
For eg, if I start tform on a script which creates sort files with
and another with
#: TempDir /foo2
#: TempSortDir /foo1
the second instance of tform will overwrite the existing xformxxx.sFN of the first, causing it to crash when it comes to merge the patches.
I suppose one way to avoid this is to always use -M, but this is not the default behaviour. Otherwise, threads must check each and every time they create a sort file.
Thanks,
Josh.
EDIT: since Takahiro mentions tempsortdir in the changelog for 4.2, this could be worth looking at? It suffices to enforce -M if TempDir!=TempSortDir, at least if the locations are not on a shared network filesystem...
Now that the sort files can be put in a different directory to the scratch files, (TempDir != TempSortDir), it is not safe to assume that sort files can be created with the same base filename.
For eg, if I start tform on a script which creates sort files with
and another with
the second instance of tform will overwrite the existing xformxxx.sFN of the first, causing it to crash when it comes to merge the patches.
I suppose one way to avoid this is to always use -M, but this is not the default behaviour. Otherwise, threads must check each and every time they create a sort file.
Thanks,
Josh.
EDIT: since Takahiro mentions
tempsortdirin the changelog for 4.2, this could be worth looking at? It suffices to enforce -M if TempDir!=TempSortDir, at least if the locations are not on a shared network filesystem...