# 1.0.1: two minor quirks

Ingo Wilken (Ingo.Wilken@Informatik.Uni-Oldenburg.DE)
Tue, 27 Apr 1999 07:39:28 +0200 (MET DST)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Ewald R. de Wit: "Re: HP PhotoSmart R030 vs. SANE 1.01"
- Previous message: Nick Lamb: "Re: SANE snapscan backend & agfa 1236"

Two minor things for 1.0.1:

* The debug error message printed by the dll backend when dlopen() fails
is not very helpful, because it's taken from errno instead of dlerror().
This caused some headscratching here, because dll seemed to insist that
my library did not exist (despite it being there), instead of complaining
about an unresolved symbol. A patch is included below.

* The file backend/djpeg.README.gz is gzipped _twice_.

Regards,
Ingo

*** dll.c.orig Tue Apr 27 06:35:12 1999
--- dll.c Tue Apr 27 06:38:50 1999
***************
*** 302,308 ****
--- 302,312 ----
#endif /* HAVE_DLOPEN */
if (!be->handle)
{
+ #ifdef HAVE_DLOPEN
+ DBG(2, "dlopen() failed (%s)\n", dlerror ());
+ #else
DBG(2, "dlopen() failed (%s)\n", strerror (errno));
+ #endif /* HAVE_DLOPEN */
return SANE_STATUS_INVAL;
}

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

- Next message: Ewald R. de Wit: "Re: HP PhotoSmart R030 vs. SANE 1.01"
- Previous message: Nick Lamb: "Re: SANE snapscan backend & agfa 1236"