[sane-devel] IPv6 patch for saned and net backend

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Mar 30 17:39:43 BST 2003


Hi,

On Sun, Mar 23, 2003 at 04:41:27PM +0100, Henning Meier-Geinitz wrote:
> *** FreeBSD: IPV6=yes, compiles ok, but running net doesn't really work:

The problem occurs because the socket is set into non-blocking mode:
if (fcntl (fd, F_SETFL, O_NONBLOCK)

However, saned (or to be exact, the sanei_net stuff) doesn't expect
that and doesn't handle EAGAIN. Just removing the fcntl line solves
the problem.

Bye,
  Henning



More information about the sane-devel mailing list