Re: saned doesn't find sane service...

From: Jochen Eisinger (jochen.eisinger@gmx.net)
Date: Mon Jun 12 2000 - 14:24:25 PDT

  • Next message: Oliver Rauch: "xsane with gimp-1.1.23"

    Martin Heinen wrote:

    > I re-read my 3.4R FreeBSD manual pages and the functions appeared
    > in 4.2BSD. The manual pages only state that the database files
    > (e.g. /etc/services) will stay open when setservent() was called
    > with a non-zero argument. They _do_not_ state that you
    > have to open the databse with setservent() when
    > using getservbyname().

    I had a look at the sources and the getservbyname() calls
    setservent()... and after a reboot, saned worked in debug mode *without*
    the extra setservent()/endservent() calles...

    -- jochen

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Jun 12 2000 - 14:24:45 PDT