Re: problems with sgi/umax
Didier Carlier (carlierd@acm.org)
Sun, 26 Jul 1998 13:04:28 +0200 (CEST)
On 24-Jul-98 Oliver Rauch wrote:
> Hi Didier,
>
> it looks like the modulo(%) function:
>
> s->row_bufsize - (s->row_bufsize % row_len)
>
> makes problems with such big arguments (8*1024*1024)
> and returns 0 in the described case.
>
> I replaced it by a (long)-integer division in the umax-backend.
Strange, I can't reproduce that here (egcs + pentium). As long as
s->row_bufsize fits on 32 bits, the result looks ok.
Does that change fixes the problem reported by Chinedum Osuji ?
Didier
--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com