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

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 30 Mar 2003 18:39:43 +0200


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