sane-project-website/old-archive/2000-11/0240.html

138 wiersze
5.2 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: Patches for saned/net/scanimage/user-authorizat</TITLE>
<META NAME="Author" CONTENT="Jochen Eisinger (jochen.eisinger@gno.de)">
<META NAME="Subject" CONTENT="Re: Patches for saned/net/scanimage/user-authorization....">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Patches for saned/net/scanimage/user-authorization....</H1>
<!-- received="Sat Nov 18 13:39:26 2000" -->
<!-- isoreceived="20001118213926" -->
<!-- sent="Sat, 18 Nov 2000 22:52:59 +0100" -->
<!-- isosent="20001118215259" -->
<!-- name="Jochen Eisinger" -->
<!-- email="jochen.eisinger@gno.de" -->
<!-- subject="Re: Patches for saned/net/scanimage/user-authorization...." -->
<!-- id="3A16FA3B.7E1892DC@gno.de" -->
<!-- inreplyto="20001118215237.A1720@vortex.swb.de" -->
<STRONG>From:</STRONG> Jochen Eisinger (<A HREF="mailto:jochen.eisinger@gno.de?Subject=Re:%20Patches%20for%20saned/net/scanimage/user-authorization....&In-Reply-To=&lt;3A16FA3B.7E1892DC@gno.de&gt;"><EM>jochen.eisinger@gno.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Nov 18 2000 - 13:52:59 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0241.html">Henning Meier-Geinitz: "Re: reaction to a smaller buffer size"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0239.html">Oliver Neukum: "reaction to a smaller buffer size"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0238.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0242.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0242.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0249.html">Oliver Rauch: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#240">[ date ]</A>
<A HREF="index.html#240">[ thread ]</A>
<A HREF="subject.html#240">[ subject ]</A>
<A HREF="author.html#240">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P><P>[Henning Meier-Geinitz]
<BR>
<EM>&gt; Sorry, no patches. I just added an &quot;s&quot; to the #include &lt;string.h&gt; in
</EM><BR>
<EM>&gt; these three files.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; We must find a way to check if index() is in string.h or strings.h in
</EM><BR>
<EM>&gt; configure and add something like
</EM><BR>
<EM>&gt; #ifdef HAVE_STRINGS_H
</EM><BR>
<EM>&gt; # include &lt;strings.h&gt;
</EM><BR>
<EM>&gt; #else
</EM><BR>
<EM>&gt; # include &lt;string.h&gt;
</EM><BR>
<EM>&gt; #endif /* HAVE_STRINGS_H */
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; to the files using index(). Where are the autoconf experts :-)?
</EM><BR>
<P><P>AC_TRY_COMPILE([
<BR>
#include &lt;string.h&gt;],[char *c=index(&quot; &quot;,' ')],,CPPFLAGS=&quot;${CPPFLAGS}
<BR>
-DNEED_STRINGS_H&quot;)
<BR>
<P>and
<BR>
<P>#ifdef NEED_STRINGS_H
<BR>
# include &lt;strings.h&gt;
<BR>
#else
<BR>
# include &lt;string.h&gt;
<BR>
#endif
<BR>
<P><P>should work =)
<BR>
<P><P><EM>&gt; &gt; &gt; &gt; lib/md5.c include/md5.h include/sane/sanei_auth.h sanei/sanei_auth.c:
</EM><BR>
<EM>&gt; Actually I was talking about the function parameters in md5.c:
</EM><BR>
<EM>&gt; But it doesn't really matter.
</EM><BR>
<P>Hmm, since this file is taken from a GNU lib (GNU textutils), it should
<BR>
be gnu coding style...
<BR>
<P>But it realy doesn't matter
<BR>
<P>-- jochen
<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:%20Patches%20for%20saned/net/scanimage/user-authorization....&In-Reply-To=&lt;3A16FA3B.7E1892DC@gno.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0241.html">Henning Meier-Geinitz: "Re: reaction to a smaller buffer size"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0239.html">Oliver Neukum: "reaction to a smaller buffer size"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0238.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0242.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0242.html">Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0249.html">Oliver Rauch: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#240">[ date ]</A>
<A HREF="index.html#240">[ thread ]</A>
<A HREF="subject.html#240">[ subject ]</A>
<A HREF="author.html#240">[ 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>Sat Nov 18 2000 - 13:41:10 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>