From: Torsten Bögershausen Date: Fri, 17 Jan 2014 15:24:29 GMT Subject: Re: [PATCH/WIP v2 03/14] read-cache: connect to file watcher Message-ID: <52D94B2D.2@web.de> In-Reply-To: <1389952060-12297-4-git-send-email-pclouds@gmail.com> On 2014-01-17 10.47, Nguyễn Thái Ngọc Duy wrote: [snip[ > diff --git a/file-watcher-lib.c b/file-watcher-lib.c > +int connect_watcher(const char *path) Could it be worth to check if we can use some code from unix-socket.c ? Especially important could be that unix_sockaddr_init() wotks around a problem when "long" path names are used.