Hi Ulrich, On Friday 01 July 2005 09:27, Ulrich Deiters wrote: > Hi, > > are you talking about the Canon SCSI backend? I do not have any > references to a variable SSIZE_MAX in my program files.
are you sure? #grep SSIZE *.c #canon-sane.c: nremain = (remain < SSIZE_MAX)? remain: SSIZE_MAX; #grep canon-sane.c * #Makefile.in: canon.conf canon.h canon-sane.c canon-scsi.c canon630u.c canon630u-common.c \ #canon.c:#include "canon-sane.c" #snapscan.c: * * backend/avision.c backend/canon-sane.c backend/coolscan.c it seems, that canon-sane is included from canon.c, which also includes the canon-scsi.c... In the meantime, I don't think we should touch canon-sane.c, instead we should add #ifndef SSIZE_MAX # define SSIZE_MAX LONG_MAX #endif to sanei_backends.h as here is also the PATH_MAX stuff after including <limits.h> Ciao, Gerhard
