Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con Modified Files: ecore_con.c Log Message: copy the name into the buffer so that svr->path gets set correctly later =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -3 -r1.81 -r1.82 --- ecore_con.c 24 Sep 2006 08:16:01 -0000 1.81 +++ ecore_con.c 25 Sep 2006 05:21:14 -0000 1.82 @@ -207,6 +207,10 @@ else snprintf(buf, sizeof(buf), "/tmp/.ecore_service|%s|%i", name, port); } + else if (type == ECORE_CON_LOCAL_ABSTRACT) + { + strncpy(buf, name, sizeof(buf)); + } pmode = umask(mask); start: svr->fd = socket(AF_UNIX, SOCK_STREAM, 0); @@ -453,6 +457,11 @@ snprintf(buf, sizeof(buf), "/tmp/.ecore_service|%s|%i", name, port); } } + else if (type == ECORE_CON_LOCAL_ABSTRACT) + { + strncpy(buf, name, sizeof(buf)); + } + svr->fd = socket(AF_UNIX, SOCK_STREAM, 0); if (svr->fd < 0) goto error; if (fcntl(svr->fd, F_SETFL, O_NONBLOCK) < 0) goto error; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs