sane-project-website/old-archive/2001-04/0071.html

116 wiersze
4.8 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: [dev] New and updated backends (pnm patch)</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: [dev] New and updated backends (pnm patch)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: [dev] New and updated backends (pnm patch)</H1>
<!-- received="Sun Apr 8 12:42:55 2001" -->
<!-- isoreceived="20010408194255" -->
<!-- sent="Sun, 8 Apr 2001 21:06:51 +0200" -->
<!-- isosent="20010408190651" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: [dev] New and updated backends (pnm patch)" -->
<!-- id="20010408210651.A19358@vortex.swb.de" -->
<!-- inreplyto="01040817381700.00594@slowcrap" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20[dev]%20New%20and%20updated%20backends%20(pnm%20patch)&In-Reply-To=&lt;20010408210651.A19358@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Apr 08 2001 - 12:06:51 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0072.html">Nick R: "Problem scanning colour images using a Snapscan 1236s"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0070.html">Ceri Hankey: "Re: [dev] New and updated backends"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0069.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0073.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0070.html">Ceri Hankey: "Re: [dev] New and updated backends"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0073.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#71">[ date ]</A>
<A HREF="index.html#71">[ thread ]</A>
<A HREF="subject.html#71">[ subject ]</A>
<A HREF="author.html#71">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sun, Apr 08, 2001 at 05:26:42PM +0200, mh wrote:
<BR>
<EM>&gt; May I, as an ordinary user, suggest the attached mini-patch for the pnm-backend
</EM><BR>
<P>Input from &quot;ordinary&quot; users is always appreciated :-)
<BR>
<P><EM>&gt; (for the case it's still included in Sane-1.0.5)?
</EM><BR>
<EM>&gt; The problem:
</EM><BR>
<EM>&gt; If you type in a valid filename like
</EM><BR>
<EM>&gt; /home/bla/testimage.pnm
</EM><BR>
<EM>&gt; and then delete some characters like
</EM><BR>
<EM>&gt; /home/bla/testimage.p
</EM><BR>
<EM>&gt; SANE_INFO_RELOAD_PARAMS isn't set and therefore the frontends can't
</EM><BR>
<EM>&gt; update their displays correctly. The patch (against pnm.c in Sane-1.0.4) ensures
</EM><BR>
<EM>&gt; that SANE_INFO_RELOAD_PARAMS is set whenever the string changes.
</EM><BR>
<P>I don't know too much about the pnm backend. Just a question. By
<BR>
removing the test for a readable pnm file the parameters are always
<BR>
reloaded. I understand that, you may be right here. But why the
<BR>
&quot;filename[strlen(value)+1] = 0;&quot;? Shouldn't filename contain a
<BR>
trailing zero?
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<BR>
<P><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:%20[dev]%20New%20and%20updated%20backends%20(pnm%20patch)&In-Reply-To=&lt;20010408210651.A19358@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0072.html">Nick R: "Problem scanning colour images using a Snapscan 1236s"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0070.html">Ceri Hankey: "Re: [dev] New and updated backends"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0069.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0073.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0070.html">Ceri Hankey: "Re: [dev] New and updated backends"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0073.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#71">[ date ]</A>
<A HREF="index.html#71">[ thread ]</A>
<A HREF="subject.html#71">[ subject ]</A>
<A HREF="author.html#71">[ 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>Sun Apr 08 2001 - 12:44:55 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>