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

112 wiersze
4.3 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: scanimage -T using Purify...</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: scanimage -T using Purify...">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scanimage -T using Purify...</H1>
<!-- received="Sun Apr 29 09:48:07 2001" -->
<!-- isoreceived="20010429164807" -->
<!-- sent="Sun, 29 Apr 2001 18:53:45 +0200" -->
<!-- isosent="20010429165345" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: scanimage -T using Purify..." -->
<!-- id="E14tuS9-0004Kk-00@minerva" -->
<!-- inreplyto="scanimage -T using Purify..." -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20scanimage%20-T%20using%20Purify...&In-Reply-To=&lt;E14tuS9-0004Kk-00@minerva&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Apr 29 2001 - 09:53:45 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0309.html">Petter Reinholdtsen: "Re: scanimage -T using Purify..."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0307.html">Henning Meier-Geinitz: "Re: scanimage -T using Purify..."</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0303.html">Petter Reinholdtsen: "scanimage -T using Purify..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0309.html">Petter Reinholdtsen: "Re: scanimage -T using Purify..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#308">[ date ]</A>
<A HREF="index.html#308">[ thread ]</A>
<A HREF="subject.html#308">[ subject ]</A>
<A HREF="author.html#308">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
[Henning Meier-Geinitz]
<BR>
<EM>&gt; Something like
</EM><BR>
<EM>&gt; while((len &gt; 0) &amp;&amp; (isspace(str[--len])))
</EM><BR>
<EM>&gt; should fix this. Petter, can you check this with purify?
</EM><BR>
<P>You where right. This change fixed the problem. I fixed this in CVS.
<BR>
<P><EM>&gt; This isn't caused by SANE?
</EM><BR>
<P>Nope, it is libc. The resolver library keeps the file open.
<BR>
<P><EM>&gt; [lots of leaks in sanei_wire]
</EM><BR>
<EM>&gt; Are these the leaks you fixed or are these additional ones?
</EM><BR>
<P>These are the additional ones. I fixed some buffers and the name of
<BR>
the network device.
<BR>
<P>For the rest, I tried to understand what happens, but do not really
<BR>
understand how the structures are constructed, and failed to find the
<BR>
solution.
<BR>
<P>I'll check the source in a few days, and see how many problems are
<BR>
left. I'll try to find a way to test saned and the driver, but it
<BR>
will require some infrastrucure changes. :-)
<BR>
<P>If I only managed to compile gtk+ (and all the required libraries) on
<BR>
the Solaris 8 box then I could test the graphical frontends as well.
<BR>
Hopefully soon. :-)
<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:%20scanimage%20-T%20using%20Purify...&In-Reply-To=&lt;E14tuS9-0004Kk-00@minerva&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0309.html">Petter Reinholdtsen: "Re: scanimage -T using Purify..."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0307.html">Henning Meier-Geinitz: "Re: scanimage -T using Purify..."</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0303.html">Petter Reinholdtsen: "scanimage -T using Purify..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0309.html">Petter Reinholdtsen: "Re: scanimage -T using Purify..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#308">[ date ]</A>
<A HREF="index.html#308">[ thread ]</A>
<A HREF="subject.html#308">[ subject ]</A>
<A HREF="author.html#308">[ 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 29 2001 - 09:49:55 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>