Hi James, James Ring writes:
> On Sat, Dec 5, 2020 at 9:18 AM James Ring <[email protected]> wrote: >> >> Hi all, >> >> In developing jfreesane (pure Java client for saned, >> https://github.com/sjamesr/jfreesane), I've found that it's useful to >> run saned locally with a known configuration (e.g. 1 test device, 4 >> test devices, various test device configurations). This is complicated >> by the fact that saned will only ever listen on sane-port as specified >> in /etc/services, or 6566 if that entry is not present. >> >> Would there be any interest in patching saned to accept a -p (port) >> argument, which may be zero if an ephemeral port is desired? In the >> ephemeral port case, the selected port is logged so the test may find >> it. >> >> I attached a proposed patch. What do you think? > > I opened https://gitlab.com/sane-project/backends/-/merge_requests/549, > that seems like a better place to discuss this. :+1: -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join
