From: <enl...@li...> - 2003-12-17 11:05:29
|
Enlightenment CVS committal Author : handyande Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_config/ipc Modified Files: ipc_ecore.c Log Message: Spanking works, I am learning\! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ipc/ipc_ecore.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ipc_ecore.c 6 Dec 2003 17:24:19 -0000 1.2 +++ ipc_ecore.c 17 Dec 2003 11:05:29 -0000 1.3 @@ -178,8 +178,8 @@ if(!server) return ECORE_CONFIG_ERR_FAIL; -// if(*server) -// return ECORE_CONFIG_ERR_IGNORED; +/* if(*server) + return ECORE_CONFIG_ERR_IGNORED; */ ecore_init(); if(ecore_ipc_init()<1) @@ -188,15 +188,15 @@ if((p=getenv("HOME"))) { /* debug-only ### FIXME */ char buf[PATH_MAX]; str=malloc(1000*sizeof(char)); - int stale=1; + int stale; stale=1; while (stale) { sprintf(str,"%s/.ecore/%s/%d",p,pipe_name,port); snprintf(buf,PATH_MAX,str); if(!stat(buf,&st)) { E(0,"IPC/eCore: pipe \"%s\" already exists!?\n",buf); -// if(unlink(buf)) -// E(0,"IPC/eCore: could not remove pipe \"%s\": %d\n",buf,errno); }} +/* if(unlink(buf)) + E(0,"IPC/eCore: could not remove pipe \"%s\": %d\n",buf,errno); }}*/ port++; } else { stale = 0; |