commit | 1f5a002f4b596522cf46eaad3cfd072a44b5848d | [log] [tgz] |
---|---|---|
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | Sat Dec 16 15:11:47 2017 +0530 |
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | Fri Jan 19 11:47:03 2018 +0530 |
tree | c4d189aa8f6afd5395e36bddfce10be95695dcda | |
parent | 035a96983cdf8a11a1c2380106c11c94cb8418b2 [diff] |
Fix to use mkstemp for temp shadow file creation Do not rely on randomString() for tempShadowFile, as it uses '/' in random set, and cause file creation error. Also, it's safe to use mkstemp to create temp shadow file with random name suffixing shadow file name. Change-Id: I0b80cc6d7c002e732e22f660e50b0701acac15fe Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>