kopia lustrzana https://gitlab.com/sane-project/website
102 wiersze
3.9 KiB
HTML
102 wiersze
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: EOF detection</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
|
|
<META NAME="Subject" CONTENT="Re: EOF detection">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: EOF detection</H1>
|
|
<!-- received="Mon May 7 14:52:16 2001" -->
|
|
<!-- isoreceived="20010507215216" -->
|
|
<!-- sent="Tue, 8 May 2001 00:04:22 +0200" -->
|
|
<!-- isosent="20010507220422" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="henning@meier-geinitz.de" -->
|
|
<!-- subject="Re: EOF detection" -->
|
|
<!-- id="20010508000421.C8462@vortex.swb.de" -->
|
|
<!-- inreplyto="3AF6E3F4.2CC13BC3@rauch-domain.de" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20EOF%20detection&In-Reply-To=<20010508000421.C8462@vortex.swb.de>"><EM>henning@meier-geinitz.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon May 07 2001 - 15:04:22 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0090.html">regis rampnoux: "Snapscan ... again"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0088.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0088.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0093.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0093.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#89">[ date ]</A>
|
|
<A HREF="index.html#89">[ thread ]</A>
|
|
<A HREF="subject.html#89">[ subject ]</A>
|
|
<A HREF="author.html#89">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P>On Mon, May 07, 2001 at 08:05:40PM +0200, Oliver Rauch wrote:
|
|
<BR>
|
|
<EM>> In fact this is not defined very fine in the standard.
|
|
</EM><BR>
|
|
<EM>> But after a close look to the sources of scanimage/xscanimage/xsane
|
|
</EM><BR>
|
|
<EM>> it looks like all frontends do handle it the same.
|
|
</EM><BR>
|
|
<EM>> So we should mention in the standard that the also last sane_read
|
|
</EM><BR>
|
|
<EM>> that reutrns valid image data has to return with SANE_STATUS_GOOD.
|
|
</EM><BR>
|
|
<P>It's not very clear but the standard mentions:
|
|
<BR>
|
|
<P>"The number of bytes returned is stored in *len. A backend must set
|
|
<BR>
|
|
this to zero when the call fails (i.e., when a status other
|
|
<BR>
|
|
than SANE_STATUS_GOOD is returned)"
|
|
<BR>
|
|
<P>So you can't return data if you don't return SANE_STATUS_GOOD.
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
Henning
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20EOF%20detection&In-Reply-To=<20010508000421.C8462@vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0090.html">regis rampnoux: "Snapscan ... again"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0088.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0088.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0093.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0093.html">Oliver Rauch: "Re: EOF detection"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#89">[ date ]</A>
|
|
<A HREF="index.html#89">[ thread ]</A>
|
|
<A HREF="subject.html#89">[ subject ]</A>
|
|
<A HREF="author.html#89">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Mon May 07 2001 - 14:58:04 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|