The temp file template of mkstemp is constant string.
This makes mkstemp crash. We change it to string array to fix it.
@tizen_fix
Change-Id: Ib586ca0f227d75808ed25dd24221f4ffe181adef
{
//TIZEN ONLY (150908): security issue. To access any application, it needs smack rule.
//b->lockfd = eina_file_mkstemp("ee-lock-XXXXXX", &tmp);
- b->lockfd = mkstemp("/run/.efl/ee-lock-XXXXXX");
+ char file[] = "/run/.efl/ee-lock-XXXXXX";
+ b->lockfd = mkstemp(file);
//
if (b->lockfd < 0) goto err;
b->lock = eina_stringshare_add(file);