reaction to a smaller buffer size

From: Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Date: Sat Nov 18 2000 - 13:11:21 PST

  • Next message: Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."

    Hi,

    I'd like to ask whether that check

      if (real_buffersize != wanted_buffersize)
        {
          DBG(1, "sanei_scsi_open: could not allocate SG buffer memory "
              "wanted: %i got: %i\n", wanted_buffersize, real_buffersize);
          sanei_scsi_close(*fdp);
          return SANE_STATUS_NO_MEM;
        }

    in sanei_scsi.c might be removed. It makes using SANE with scsi drivers
    which don't do scatter/gather very hard.

            Regards
                    Oliver Neukum

    --
    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 : Sat Nov 18 2000 - 12:57:36 PST