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

130 wiersze
4.7 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="Franz Bakan (fbakan@gmx.net)">
<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 08:20:32 2001" -->
<!-- isoreceived="20010608152032" -->
<!-- sent="Fri, 08 Jun 2001 17:24:40 +0200 (CDT)" -->
<!-- isosent="20010608152440" -->
<!-- name="Franz Bakan" -->
<!-- email="fbakan@gmx.net" -->
<!-- subject="Re: Compiling on OS/2" -->
<!-- id="200106081520.f58FKRP21945@panda.mostang.com" -->
<!-- inreplyto="20010606203927.D1205@vortex.swb.de" -->
<STRONG>From:</STRONG> Franz Bakan (<A HREF="mailto:fbakan@gmx.net?Subject=Re:%20Compiling%20on%20OS/2&In-Reply-To=&lt;200106081520.f58FKRP21945@panda.mostang.com&gt;"><EM>fbakan@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 08 2001 - 08:24:40 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0121.html">karsten.festag@t-online.de: "Re: Select gray-channel for grey scanns"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0102.html">Henning Meier-Geinitz: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0123.html">Oliver Rauch: "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="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#122">[ date ]</A>
<A HREF="index.html#122">[ thread ]</A>
<A HREF="subject.html#122">[ subject ]</A>
<A HREF="author.html#122">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Wed, 6 Jun 2001 20:39:27 +0200, Henning Meier-Geinitz wrote:
<BR>
<P><EM>&gt;&gt; &gt;So maybe the filename can be changed to contain an allowed character
</EM><BR>
<EM>&gt;&gt; &gt;instead of &quot;:&quot;.
</EM><BR>
<EM>&gt;&gt;
</EM><BR>
<EM>&gt;&gt; With this patch it works: ( diff -c )
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;Yes, but it fixes only the save function. Load must also be changed.
</EM><BR>
<P>Load was also changed with the patch.
<BR>
<P><EM>&gt;Further more it only exchanges one colon, but there can be more than
</EM><BR>
<EM>&gt;one, e.g. in &quot;net:localhost:mustek:/dev/scanner&quot;.
</EM><BR>
<P>What about:
<BR>
<P>#ifdef OS2
<BR>
&nbsp;&nbsp;char *colon;
<BR>
<P>&nbsp;&nbsp;colon = strchr((filename+2),':');
<BR>
&nbsp;&nbsp;while (colon != NULL)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;{
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;colon[0] = '-';
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;colon = strchr(colon,':');
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
#endif
<BR>
<P>I have included the needed diffs for xcam and xscanimage as attachement.
<BR>
<P>Bye,
<BR>
Franz
<BR>
<P><P>
<BR><HR NOSHADE>
<UL>
<LI>application/octet-stream attachment: <A HREF="att-0122/01-diffs.tar.gz">diffs.tar.gz</A>
</UL>
<!-- attachment="01-diffs.tar.gz" -->
<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:%20Compiling%20on%20OS/2&In-Reply-To=&lt;200106081520.f58FKRP21945@panda.mostang.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0121.html">karsten.festag@t-online.de: "Re: Select gray-channel for grey scanns"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0102.html">Henning Meier-Geinitz: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0123.html">Oliver Rauch: "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="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#122">[ date ]</A>
<A HREF="index.html#122">[ thread ]</A>
<A HREF="subject.html#122">[ subject ]</A>
<A HREF="author.html#122">[ 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 - 08:25:04 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>