kopia lustrzana https://gitlab.com/sane-project/website
138 wiersze
5.2 KiB
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=<3A16FA3B.7E1892DC@gno.de>"><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>> Sorry, no patches. I just added an "s" to the #include <string.h> in
|
|
</EM><BR>
|
|
<EM>> these three files.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> We must find a way to check if index() is in string.h or strings.h in
|
|
</EM><BR>
|
|
<EM>> configure and add something like
|
|
</EM><BR>
|
|
<EM>> #ifdef HAVE_STRINGS_H
|
|
</EM><BR>
|
|
<EM>> # include <strings.h>
|
|
</EM><BR>
|
|
<EM>> #else
|
|
</EM><BR>
|
|
<EM>> # include <string.h>
|
|
</EM><BR>
|
|
<EM>> #endif /* HAVE_STRINGS_H */
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> to the files using index(). Where are the autoconf experts :-)?
|
|
</EM><BR>
|
|
<P><P>AC_TRY_COMPILE([
|
|
<BR>
|
|
#include <string.h>],[char *c=index(" ",' ')],,CPPFLAGS="${CPPFLAGS}
|
|
<BR>
|
|
-DNEED_STRINGS_H")
|
|
<BR>
|
|
<P>and
|
|
<BR>
|
|
<P>#ifdef NEED_STRINGS_H
|
|
<BR>
|
|
# include <strings.h>
|
|
<BR>
|
|
#else
|
|
<BR>
|
|
# include <string.h>
|
|
<BR>
|
|
#endif
|
|
<BR>
|
|
<P><P>should work =)
|
|
<BR>
|
|
<P><P><EM>> > > > lib/md5.c include/md5.h include/sane/sanei_auth.h sanei/sanei_auth.c:
|
|
</EM><BR>
|
|
<EM>> Actually I was talking about the function parameters in md5.c:
|
|
</EM><BR>
|
|
<EM>> 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=<3A16FA3B.7E1892DC@gno.de>">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>
|