kopia lustrzana https://gitlab.com/sane-project/website
116 wiersze
4.8 KiB
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=<20010408210651.A19358@vortex.swb.de>"><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>> May I, as an ordinary user, suggest the attached mini-patch for the pnm-backend
|
|
</EM><BR>
|
|
<P>Input from "ordinary" users is always appreciated :-)
|
|
<BR>
|
|
<P><EM>> (for the case it's still included in Sane-1.0.5)?
|
|
</EM><BR>
|
|
<EM>> The problem:
|
|
</EM><BR>
|
|
<EM>> If you type in a valid filename like
|
|
</EM><BR>
|
|
<EM>> /home/bla/testimage.pnm
|
|
</EM><BR>
|
|
<EM>> and then delete some characters like
|
|
</EM><BR>
|
|
<EM>> /home/bla/testimage.p
|
|
</EM><BR>
|
|
<EM>> SANE_INFO_RELOAD_PARAMS isn't set and therefore the frontends can't
|
|
</EM><BR>
|
|
<EM>> update their displays correctly. The patch (against pnm.c in Sane-1.0.4) ensures
|
|
</EM><BR>
|
|
<EM>> 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>
|
|
"filename[strlen(value)+1] = 0;"? Shouldn't filename contain a
|
|
<BR>
|
|
trailing zero?
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
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=<20010408210651.A19358@vortex.swb.de>">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>
|