The template array given to mkstemp was declared static. This reused the memory, which caused mkstemp to fail if backingfile is run more than once, because the array no longer contained the template syntax (which is forced to end in XXXXXX) but the previous file name.master
parent
69409ea3cb
commit
8ab0073b49
Loading…
Reference in new issue