formatting

SVN revision: 57237
This commit is contained in:
Sebastian Dransfeld 2011-02-22 12:42:46 +00:00
parent 2316172755
commit 7c1d716453
2 changed files with 20 additions and 20 deletions

View File

@ -488,16 +488,16 @@ main(int argc, char **argv)
/* touch update file */
if (changed)
{
snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get());
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (tmpfd >= 0)
{
efreet_fsetowner(tmpfd);
if (write(tmpfd, "a", 1) != 1) perror("write");
close(tmpfd);
}
}
{
snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get());
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (tmpfd >= 0)
{
efreet_fsetowner(tmpfd);
if (write(tmpfd, "a", 1) != 1) perror("write");
close(tmpfd);
}
}
EINA_LIST_FREE(scanned, dir)
eina_stringshare_del(dir);

View File

@ -982,16 +982,16 @@ main(int argc, char **argv)
/* touch update file */
if (changed)
{
snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get());
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (tmpfd >= 0)
{
efreet_fsetowner(tmpfd);
write(tmpfd, "a", 1);
close(tmpfd);
}
}
{
snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get());
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (tmpfd >= 0)
{
efreet_fsetowner(tmpfd);
write(tmpfd, "a", 1);
close(tmpfd);
}
}
on_error_efreet:
efreet_shutdown();