kopia lustrzana https://gitlab.com/sane-project/website
115 wiersze
4.4 KiB
HTML
115 wiersze
4.4 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: DBG(0, ...)</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
|
|
<META NAME="Subject" CONTENT="Re: DBG(0, ...)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: DBG(0, ...)</H1>
|
|
<!-- received="Mon May 14 08:08:29 2001" -->
|
|
<!-- isoreceived="20010514150829" -->
|
|
<!-- sent="Mon, 14 May 2001 17:25:17 +0200" -->
|
|
<!-- isosent="20010514152517" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@rauch-domain.de" -->
|
|
<!-- subject="Re: DBG(0, ...)" -->
|
|
<!-- id="3AFFF8DD.EBEF0B32@rauch-domain.de" -->
|
|
<!-- inreplyto="E14zDWt-0001kJ-00@minerva" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20DBG(0,%20...)&In-Reply-To=<3AFFF8DD.EBEF0B32@rauch-domain.de>"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon May 14 2001 - 08:25:17 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0193.html">Henning Meier-Geinitz: "Re: HP 5200C -- segfaults and "inappropriate ioctl for device""</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0191.html">Sebastien Sable: "Re: [dev] TODO list and time table for 1.0.5"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0189.html">Petter Reinholdtsen: "DBG(0, ...)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0196.html">Henning Meier-Geinitz: "Re: DBG(0, ...)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#192">[ date ]</A>
|
|
<A HREF="index.html#192">[ thread ]</A>
|
|
<A HREF="subject.html#192">[ subject ]</A>
|
|
<A HREF="author.html#192">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Petter Reinholdtsen wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I believe there is a misfeature in the DBG() functions. Peter Fales
|
|
</EM><BR>
|
|
<EM>> pointed out to me that the following code in a backend
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> DBG(0, "foo");
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> will print out "foo" even if SANE_DEBUG_BACKEND is not set. I believe
|
|
</EM><BR>
|
|
<EM>> this is wrong. I believe DBG() should not print anything unless
|
|
</EM><BR>
|
|
<EM>> debugging is enabled for that specific backend. I suggest applying
|
|
</EM><BR>
|
|
<EM>> this patch to fix it. Is there anything I haven't thought about?
|
|
</EM><BR>
|
|
<P>Hi Petter,
|
|
<BR>
|
|
<P>I like the DBG(0,"foo"); behaviour.
|
|
<BR>
|
|
If I want some special debugging output while testing the backend
|
|
<BR>
|
|
I often use this.
|
|
<BR>
|
|
So if there is no special need to change this I would
|
|
<BR>
|
|
appreciate to keep it like it is.
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.rauch-domain.de">http://www.rauch-domain.de</A>
|
|
sane-umax: <A HREF="http://www.rauch-domain.de/sane-umax">http://www.rauch-domain.de/sane-umax</A>
|
|
xsane: <A HREF="http://www.xsane.org">http://www.xsane.org</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@rauch-domain.de?Subject=Re:%20DBG(0,%20...)&In-Reply-To=<3AFFF8DD.EBEF0B32@rauch-domain.de>">Oliver.Rauch@rauch-domain.de</A>
|
|
<P>--
|
|
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:%20DBG(0,%20...)&In-Reply-To=<3AFFF8DD.EBEF0B32@rauch-domain.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0193.html">Henning Meier-Geinitz: "Re: HP 5200C -- segfaults and "inappropriate ioctl for device""</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0191.html">Sebastien Sable: "Re: [dev] TODO list and time table for 1.0.5"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0189.html">Petter Reinholdtsen: "DBG(0, ...)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0196.html">Henning Meier-Geinitz: "Re: DBG(0, ...)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#192">[ date ]</A>
|
|
<A HREF="index.html#192">[ thread ]</A>
|
|
<A HREF="subject.html#192">[ subject ]</A>
|
|
<A HREF="author.html#192">[ 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 14 2001 - 08:10:32 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|