8f76bab92e
The manual of `mktemp` states that "TEMPLATE must contain at least 3 consecutive 'X's in last component." Linux implementation seems to be relaxed about this and accepts and rewrites X's even inside the template, but mktemp of OSX is more strict and handles trailing X's only. This patch makes sure that mktemp templates work on both OS's. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu