sane-project-website/old-archive/2001-06/0123.html

179 wiersze
5.9 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: Compiling on OS/2</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
<META NAME="Subject" CONTENT="Re: Compiling on OS/2">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Compiling on OS/2</H1>
<!-- received="Fri Jun 8 11:07:43 2001" -->
<!-- isoreceived="20010608180743" -->
<!-- sent="Fri, 08 Jun 2001 20:06:31 +0200" -->
<!-- isosent="20010608180631" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@rauch-domain.de" -->
<!-- subject="Re: Compiling on OS/2" -->
<!-- id="3B211427.52AFD8FB@rauch-domain.de" -->
<!-- inreplyto="200106081520.f58FKRP21945@panda.mostang.com" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20Compiling%20on%20OS/2&In-Reply-To=&lt;3B211427.52AFD8FB@rauch-domain.de&gt;"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 08 2001 - 11:06:31 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0122.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0122.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0103.html">Henning Meier-Geinitz: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#123">[ date ]</A>
<A HREF="index.html#123">[ thread ]</A>
<A HREF="subject.html#123">[ subject ]</A>
<A HREF="author.html#123">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Franz Bakan wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Wed, 6 Jun 2001 20:39:27 +0200, Henning Meier-Geinitz wrote:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt;&gt; &gt;So maybe the filename can be changed to contain an allowed character
</EM><BR>
<EM>&gt; &gt;&gt; &gt;instead of &quot;:&quot;.
</EM><BR>
<EM>&gt; &gt;&gt;
</EM><BR>
<EM>&gt; &gt;&gt; With this patch it works: ( diff -c )
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;Yes, but it fixes only the save function. Load must also be changed.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Load was also changed with the patch.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt;Further more it only exchanges one colon, but there can be more than
</EM><BR>
<EM>&gt; &gt;one, e.g. in &quot;net:localhost:mustek:/dev/scanner&quot;.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; What about:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #ifdef OS2
</EM><BR>
<EM>&gt; char *colon;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; colon = strchr((filename+2),':');
</EM><BR>
<EM>&gt; while (colon != NULL)
</EM><BR>
<EM>&gt; {
</EM><BR>
<EM>&gt; colon[0] = '-';
</EM><BR>
<EM>&gt; colon = strchr(colon,':');
</EM><BR>
<EM>&gt; }
</EM><BR>
<EM>&gt; #endif
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have included the needed diffs for xcam and xscanimage as attachement.
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hello Franz,
<BR>
<P>why don`t you apply this function to gsg_make_path in gtkglue.c:
<BR>
about line 155 (in if (dev_name))
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case '/':
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buf[len++] = '+';
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buf[len++] = '-';
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
<BR>
+#ifdef OS2
<BR>
+ case ':':
<BR>
+ buf[len++] = '_';
<BR>
+ buf[lrn++] = '_';
<BR>
+ break;
<BR>
+#endif
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case '+':
<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:%20Compiling%20on%20OS/2&In-Reply-To=&lt;3B211427.52AFD8FB@rauch-domain.de&gt;">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:%20Compiling%20on%20OS/2&In-Reply-To=&lt;3B211427.52AFD8FB@rauch-domain.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0122.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0122.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0103.html">Henning Meier-Geinitz: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0124.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#123">[ date ]</A>
<A HREF="index.html#123">[ thread ]</A>
<A HREF="subject.html#123">[ subject ]</A>
<A HREF="author.html#123">[ 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 Jun 08 2001 - 11:12:24 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>