e_ipc: fix creation of IPC server when $DISPLAY is a path
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Sat, 2 May 2015 14:04:28 +0000 (10:04 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Sat, 2 May 2015 14:05:00 +0000 (10:05 -0400)
commit385a06bd027f725937fa724210f0c7cb9f3c9a00
tree24040e0b76c3f2ac1f735b9338a4f5ed0d9d868c
parente9420be0209dcbf4b0e5d72ad0add4ec8eb9e64b
e_ipc: fix creation of IPC server when $DISPLAY is a path

Summary:
Some implementations of the X server (e.g. Xquartz) define their $DISPLAY
as a path. Since ecore_ipc_server_add() does not create non-existant
directories, and since it may not worth to hide the socket in a complex
path, this patch aims at reducing the $DISPLAY by only keeping its basename.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2465
src/bin/e_ipc.c