raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0802f4dc95603b2c95c854c627fd297dd95412aa

commit 0802f4dc95603b2c95c854c627fd297dd95412aa
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Feb 15 11:31:43 2020 +0000

    ecore_con - on bsd if we get flock unlink old socket by force
    
    trying to address other parts of the bsd socket hanging on bind() etc.
    ... unlink socket if we get the file lock as we should now have an
    exclusive lock on the socket anyway - clear out the old one by force
    once we have the lock.
---
 src/lib/ecore_con/efl_net_server_unix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_con/efl_net_server_unix.c 
b/src/lib/ecore_con/efl_net_server_unix.c
index 206845b308..9f9af5a2a4 100644
--- a/src/lib/ecore_con/efl_net_server_unix.c
+++ b/src/lib/ecore_con/efl_net_server_unix.c
@@ -196,6 +196,7 @@ _efl_net_server_unix_bind(Eo *o, Efl_Net_Server_Unix_Data 
*pd)
              err = EADDRINUSE;
              goto error;
           }
+        unlink(addr.sun_path);
         pd->have_lock_fd = EINA_TRUE;
 #endif
         r = bind(fd, (struct sockaddr *)&addr, addrlen);

-- 


Reply via email to