forked from enlightenment/efl
parent
0b30e759ed
commit
51e1eca0a9
|
@ -483,8 +483,6 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* touch update file */
|
/* touch update file */
|
||||||
//if (changed)
|
|
||||||
{
|
|
||||||
snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get());
|
snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get());
|
||||||
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
|
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
|
||||||
if (tmpfd >= 0)
|
if (tmpfd >= 0)
|
||||||
|
@ -493,7 +491,6 @@ main(int argc, char **argv)
|
||||||
if (write(tmpfd, "a", 1) != 1) perror("write");
|
if (write(tmpfd, "a", 1) != 1) perror("write");
|
||||||
close(tmpfd);
|
close(tmpfd);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
EINA_LIST_FREE(scanned, dir)
|
EINA_LIST_FREE(scanned, dir)
|
||||||
eina_stringshare_del(dir);
|
eina_stringshare_del(dir);
|
||||||
|
|
|
@ -1086,8 +1086,6 @@ main(int argc, char **argv)
|
||||||
free(theme_version);
|
free(theme_version);
|
||||||
|
|
||||||
/* touch update file */
|
/* touch update file */
|
||||||
//if (changed)
|
|
||||||
{
|
|
||||||
snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get());
|
snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get());
|
||||||
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
|
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
|
||||||
if (tmpfd >= 0)
|
if (tmpfd >= 0)
|
||||||
|
@ -1098,7 +1096,6 @@ main(int argc, char **argv)
|
||||||
written = write(tmpfd, "a", 1);
|
written = write(tmpfd, "a", 1);
|
||||||
close(tmpfd);
|
close(tmpfd);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
INF("done");
|
INF("done");
|
||||||
on_error_efreet:
|
on_error_efreet:
|
||||||
|
|
Loading…
Reference in New Issue