mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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