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

130 wiersze
4.4 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 15:50:41 2001" -->
<!-- isoreceived="20010608225041" -->
<!-- sent="Sat, 09 Jun 2001 00:54:17 +0200 (CDT)" -->
<!-- isosent="20010608225417" -->
<!-- name="Franz Bakan" -->
<!-- email="fbakan@gmx.net" -->
<!-- subject="Re: Compiling on OS/2" -->
<!-- id="200106082250.f58ModP22611@panda.mostang.com" -->
<!-- inreplyto="3B211427.52AFD8FB@rauch-domain.de" -->
<STRONG>From:</STRONG> Franz Bakan (<A HREF="mailto:fbakan@gmx.net?Subject=Re:%20Compiling%20on%20OS/2&In-Reply-To=&lt;200106082250.f58ModP22611@panda.mostang.com&gt;"><EM>fbakan@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 08 2001 - 15:54:17 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0125.html">Franz Bakan: "Building libsane.dll on OS/2"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0128.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="0128.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#124">[ date ]</A>
<A HREF="index.html#124">[ thread ]</A>
<A HREF="subject.html#124">[ subject ]</A>
<A HREF="author.html#124">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Fri, 08 Jun 2001 20:06:31 +0200, Oliver Rauch wrote:
<BR>
<P><EM>&gt;why don`t you apply this function to gsg_make_path in gtkglue.c:
</EM><BR>
<EM>&gt;about line 155 (in if (dev_name))
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; case '/':
</EM><BR>
<EM>&gt; buf[len++] = '+';
</EM><BR>
<EM>&gt; buf[len++] = '-';
</EM><BR>
<EM>&gt; break;
</EM><BR>
<EM>&gt;+#ifdef OS2
</EM><BR>
<EM>&gt;+ case ':':
</EM><BR>
<EM>&gt;+ buf[len++] = '_';
</EM><BR>
<EM>&gt;+ buf[lrn++] = '_';
</EM><BR>
<EM>&gt;+ break;
</EM><BR>
<EM>&gt;+#endif
</EM><BR>
<EM>&gt; case '+':
</EM><BR>
<P>thanks, thats the more elegant and shorter way.
<BR>
<P>But it just has to be just
<BR>
<P>+#ifdef OS2
<BR>
+ case ':':
<BR>
+ buf[len++] = '_';
<BR>
+ break;
<BR>
+#endif
<BR>
<P>I tested and it works.
<BR>
Could someone please add this patch to the sources?
<BR>
<P>Bye
<BR>
Franz
<BR>
<P><P><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;200106082250.f58ModP22611@panda.mostang.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0125.html">Franz Bakan: "Building libsane.dll on OS/2"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0123.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0128.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="0128.html">Oliver Rauch: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#124">[ date ]</A>
<A HREF="index.html#124">[ thread ]</A>
<A HREF="subject.html#124">[ subject ]</A>
<A HREF="author.html#124">[ 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 - 15:54:54 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>