On Mon, Jul 08, 2013 at 08:47:44PM +0100, Daniel P. Berrange wrote: > On Fri, Jul 05, 2013 at 08:18:59PM +0700, Alexey Dokuchaev wrote: > > On Fri, Jul 05, 2013 at 01:48:41PM +0100, Daniel P. Berrange wrote: > > > On Fri, Jul 05, 2013 at 07:16:03PM +0700, Alexey Dokuchaev wrote: > > > > [...] > > > > What I need to do, is first to reestablish new connection to newly run > > > > devd, and then g_io_channel_shutdown(...)/g_object_unref(oldsocket). > > > > > > IMHO the order you have here ought to be ok. > > > > My thinking the reason for calling devd_init() first, then cleaning up is > > because it takes certain time to devd to reappear and start serving again. > > In indication of this is a series of repeating failing connect() calls if > > perror()'ing them... But I might be wrong. > > Yep, that sounds pretty likely indeed. If you get a failure to > reconnect to devd, then you can use g_timeout_add to re-schedule > an attempt to connect 1 second later, or something like that. > [...]
Hi Daniel, Sorry I never had time to finish conversion to G* API, but nonetheless, the FreeBSD port seems to work fine (and was recently updated to version 0.6.0). May I ask you to augment "Install it from your Linux distribution (others coming soon)" text on the http://entangle-photo.org/ to "Linux/Unix" (or, if you prefer, "Linux/BSD") and add the following install command line: # pkg install entangle (FreeBSD) to the Download block? Thanks, ./danfe _______________________________________________ Entangle-devel mailing list Entangle-devel@gna.org https://mail.gna.org/listinfo/entangle-devel