[sane-devel] still problems from xinetd

Joerg Napp sane@lottasophie.de
Fri Apr 11 19:59:48 BST 2003


Hi,

On Fri, 11.04.2003, 11:09, Henning Meier-Geinitz wrote:

>  I guess changing printf (...) to
> fprintf (stderr, ...) may be enough but I haven't even loked at the code.

Humm, I'm no C programmer, but I replaced all occurences of printf(...) to
fprintf (stderr, ...) as you proposed. And: It worked!

But it works only with his wrapper:

#!/bin/bash
exec /usr/local/sbin/saned 2>>/var/log/saned

Otherwise (referring to saned in xinetd.conf directly, not the wrapper),
stderr is sent to the client as well. Strangs, but I can live with it.

Thank you once again,

Jörg




More information about the sane-devel mailing list