kopia lustrzana https://gitlab.com/sane-project/website
179 wiersze
5.9 KiB
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=<3B211427.52AFD8FB@rauch-domain.de>"><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>>
|
|
</EM><BR>
|
|
<EM>> Hi,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> On Wed, 6 Jun 2001 20:39:27 +0200, Henning Meier-Geinitz wrote:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> >> >So maybe the filename can be changed to contain an allowed character
|
|
</EM><BR>
|
|
<EM>> >> >instead of ":".
|
|
</EM><BR>
|
|
<EM>> >>
|
|
</EM><BR>
|
|
<EM>> >> With this patch it works: ( diff -c )
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> >Yes, but it fixes only the save function. Load must also be changed.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Load was also changed with the patch.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> >Further more it only exchanges one colon, but there can be more than
|
|
</EM><BR>
|
|
<EM>> >one, e.g. in "net:localhost:mustek:/dev/scanner".
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> What about:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #ifdef OS2
|
|
</EM><BR>
|
|
<EM>> char *colon;
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> colon = strchr((filename+2),':');
|
|
</EM><BR>
|
|
<EM>> while (colon != NULL)
|
|
</EM><BR>
|
|
<EM>> {
|
|
</EM><BR>
|
|
<EM>> colon[0] = '-';
|
|
</EM><BR>
|
|
<EM>> colon = strchr(colon,':');
|
|
</EM><BR>
|
|
<EM>> }
|
|
</EM><BR>
|
|
<EM>> #endif
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I have included the needed diffs for xcam and xscanimage as attachement.
|
|
</EM><BR>
|
|
<EM>>
|
|
</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> case '/':
|
|
<BR>
|
|
buf[len++] = '+';
|
|
<BR>
|
|
buf[len++] = '-';
|
|
<BR>
|
|
break;
|
|
<BR>
|
|
+#ifdef OS2
|
|
<BR>
|
|
+ case ':':
|
|
<BR>
|
|
+ buf[len++] = '_';
|
|
<BR>
|
|
+ buf[lrn++] = '_';
|
|
<BR>
|
|
+ break;
|
|
<BR>
|
|
+#endif
|
|
<BR>
|
|
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=<3B211427.52AFD8FB@rauch-domain.de>">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=<3B211427.52AFD8FB@rauch-domain.de>">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>
|