Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e_utils

Dir     : e17/apps/e_utils/src/bin/e17setroot


Modified Files:
        e17setroot.c 


Log Message:
unlinked the temp edc in /tmp

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17setroot/e17setroot.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e17setroot.c        24 Jan 2005 12:57:37 -0000      1.4
+++ e17setroot.c        24 Jan 2005 13:02:17 -0000      1.5
@@ -3,6 +3,7 @@
 #include <getopt.h>
 #include <errno.h>
 #include <string.h>
+#include <unistd.h>
 #include <X11/Xatom.h>
 #include <X11/Xlib.h>
 #include <Imlib2.h>
@@ -256,6 +257,9 @@
    strcat(esetroot, filename);
    system(esetroot);
    free(esetroot);
+   
+   /* unlink the temp edc */
+   unlink("/tmp/e17setroot_template.edc");
 }
 
 int main(int argc, char **argv)




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to