kopia lustrzana https://gitlab.com/sane-project/website
171 wiersze
6.3 KiB
HTML
171 wiersze
6.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: #include <sane...> instead of "sane.</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
|
|
<META NAME="Subject" CONTENT="Re: #include <sane...> instead of "sane..."">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: #include <sane...> instead of "sane..."</H1>
|
|
<!-- received="Fri Nov 3 22:51:22 2000" -->
|
|
<!-- isoreceived="20001104065122" -->
|
|
<!-- sent="Sat, 04 Nov 2000 07:52:54 +0100" -->
|
|
<!-- isosent="20001104065254" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@Wolfsburg.DE" -->
|
|
<!-- subject="Re: #include <sane...> instead of "sane..."" -->
|
|
<!-- id="3A03B246.AB050C3@wolfsburg.de" -->
|
|
<!-- inreplyto="3A0351CA.409E1A3D@gno.de" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20#include%20<sane...>%20instead%20of%20"sane..."&In-Reply-To=<3A03B246.AB050C3@wolfsburg.de>"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Nov 03 2000 - 22:52:54 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0053.html">Oliver Rauch: "Re: #include <sane...> instead of "sane...""</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0051.html">Chris Bagwell: "Re: [snapscan] Core testing group"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#52">[ date ]</A>
|
|
<A HREF="index.html#52">[ thread ]</A>
|
|
<A HREF="subject.html#52">[ subject ]</A>
|
|
<A HREF="author.html#52">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Jochen Eisinger wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hi!
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [Oliver Rauch]
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > It does not look like a problem that does occur often, but
|
|
</EM><BR>
|
|
<EM>> > I also do not see a problem to change all to
|
|
</EM><BR>
|
|
<EM>> > #include "../include/sane/sane*"
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I also think the "../include/sane/..." style is the best... I've added a
|
|
</EM><BR>
|
|
<EM>> little script to change this in all files but the frontends (where
|
|
</EM><BR>
|
|
<EM>> saned.c & test.c can't be frontends, because they include sanei_*.h
|
|
</EM><BR>
|
|
<EM>> files which shouldn't be accessable to frontends)
|
|
</EM><BR>
|
|
<P>Hi Jochen.
|
|
<BR>
|
|
<P>Frontends also may have access to sanei_*.
|
|
<BR>
|
|
<P>The sanei_* files shall not be installed on the system directories
|
|
<BR>
|
|
because they are not part of the sane standard, but a frontend may
|
|
<BR>
|
|
use these routines. If we move a frontend out of the backend-package
|
|
<BR>
|
|
we also have to copy some sanei_* routines to the frontend-package
|
|
<BR>
|
|
(already done for xcam and xscanimage).
|
|
<BR>
|
|
<P><P><EM>> What about the same problem in this favour: "lalloca.h" vs <lalloca.h>
|
|
</EM><BR>
|
|
<EM>> (or "getopt.h" vs <getopt.h>)? In this case we should write something
|
|
</EM><BR>
|
|
<EM>> like this:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #ifdef HAVE_LALLOCA_H
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #include <lalloca.h>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #else
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #include "../include/lalloca.h"
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #endif
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> any comments?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<P>In the manpage of getopt it is described that
|
|
<BR>
|
|
#include <getopt.h> should be done. So it has
|
|
<BR>
|
|
to be used or we get problems when getopt is
|
|
<BR>
|
|
available at the system.
|
|
<BR>
|
|
<P>With lalloca.h I don`t know but I don`t see
|
|
<BR>
|
|
a problem here to keep it as it is.
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><P><P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
|
|
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
|
|
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20#include%20<sane...>%20instead%20of%20"sane..."&In-Reply-To=<3A03B246.AB050C3@wolfsburg.de>">Oliver.Rauch@Wolfsburg.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:%20#include%20<sane...>%20instead%20of%20"sane..."&In-Reply-To=<3A03B246.AB050C3@wolfsburg.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0053.html">Oliver Rauch: "Re: #include <sane...> instead of "sane...""</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0051.html">Chris Bagwell: "Re: [snapscan] Core testing group"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include <sane...> instead of "sane...""</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#52">[ date ]</A>
|
|
<A HREF="index.html#52">[ thread ]</A>
|
|
<A HREF="subject.html#52">[ subject ]</A>
|
|
<A HREF="author.html#52">[ 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>Fri Nov 03 2000 - 23:03:52 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|