summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2011-02-22 12:42:46 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2011-02-22 12:42:46 +0000
commit7c1d716453fe1d714e0f5fbeb4f4eb24aed74011 (patch)
treea791d8cd6efdaf5c54d60dd4c466e3ff8175da4b /legacy/efreet
parent231617275532b609635443234fe69b4ff9cbcdce (diff)
formatting
SVN revision: 57237
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/src/bin/efreet_desktop_cache_create.c20
-rw-r--r--legacy/efreet/src/bin/efreet_icon_cache_create.c20
2 files changed, 20 insertions, 20 deletions
diff --git a/legacy/efreet/src/bin/efreet_desktop_cache_create.c b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
index 28254e638b..d4a721e3ca 100644
--- a/legacy/efreet/src/bin/efreet_desktop_cache_create.c
+++ b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
@@ -488,16 +488,16 @@ main(int argc, char **argv)
488 488
489 /* touch update file */ 489 /* touch update file */
490 if (changed) 490 if (changed)
491 { 491 {
492 snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get()); 492 snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get());
493 tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); 493 tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
494 if (tmpfd >= 0) 494 if (tmpfd >= 0)
495 { 495 {
496 efreet_fsetowner(tmpfd); 496 efreet_fsetowner(tmpfd);
497 if (write(tmpfd, "a", 1) != 1) perror("write"); 497 if (write(tmpfd, "a", 1) != 1) perror("write");
498 close(tmpfd); 498 close(tmpfd);
499 } 499 }
500 } 500 }
501 501
502 EINA_LIST_FREE(scanned, dir) 502 EINA_LIST_FREE(scanned, dir)
503 eina_stringshare_del(dir); 503 eina_stringshare_del(dir);
diff --git a/legacy/efreet/src/bin/efreet_icon_cache_create.c b/legacy/efreet/src/bin/efreet_icon_cache_create.c
index 10bfd6d26e..ba2fe6fb4c 100644
--- a/legacy/efreet/src/bin/efreet_icon_cache_create.c
+++ b/legacy/efreet/src/bin/efreet_icon_cache_create.c
@@ -982,16 +982,16 @@ main(int argc, char **argv)
982 982
983 /* touch update file */ 983 /* touch update file */
984 if (changed) 984 if (changed)
985 { 985 {
986 snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get()); 986 snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get());
987 tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); 987 tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
988 if (tmpfd >= 0) 988 if (tmpfd >= 0)
989 { 989 {
990 efreet_fsetowner(tmpfd); 990 efreet_fsetowner(tmpfd);
991 write(tmpfd, "a", 1); 991 write(tmpfd, "a", 1);
992 close(tmpfd); 992 close(tmpfd);
993 } 993 }
994 } 994 }
995 995
996on_error_efreet: 996on_error_efreet:
997 efreet_shutdown(); 997 efreet_shutdown();