sane-project-website/old-archive/2000-04/0176.html

121 wiersze
5.0 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: scanimage -L crashes SuSE 6.4</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: scanimage -L crashes SuSE 6.4">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scanimage -L crashes SuSE 6.4</H1>
<!-- received="Mon Apr 17 08:55:44 2000" -->
<!-- isoreceived="20000417155544" -->
<!-- sent="Mon, 17 Apr 2000 17:47:10 +0200" -->
<!-- isosent="20000417154710" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: scanimage -L crashes SuSE 6.4" -->
<!-- id="38FB31FE.A9591244@wolfsburg.de" -->
<!-- inreplyto="20000417015019.A29013@ecs.soton.ac.uk" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20scanimage%20-L%20crashes%20SuSE%206.4&In-Reply-To=&lt;38FB31FE.A9591244@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Apr 17 2000 - 08:47:10 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0175.html">Harald Finster: "Re: Microtek Scanmaker 630 S"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0173.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0127.html">Bernhard Scheffold: "Re: scanimage -L crashes SuSE 6.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#176">[ date ]</A>
<A HREF="index.html#176">[ thread ]</A>
<A HREF="subject.html#176">[ subject ]</A>
<A HREF="author.html#176">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Nick Lamb wrote: XSane creates a new layer =&gt; XSane specifies
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; The fix for XSane is to turn off LC_NUMERIC localisation while talking
</EM><BR>
<EM>&gt; over the wire to Gimp, the simplest way to achieve this is to add
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &lt;locale.h&gt;
</EM><BR>
<EM>&gt; ... in the appropriate place ...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and add a line which says...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; setlocale(LC_NUMERIC, &quot;C&quot;);
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; soon after gtk_init() only when Gimp is being used, perhaps at the
</EM><BR>
<EM>&gt; start of the #ifdef'd group soon after you call gtk_init().
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hi Nick, did you already test if that solves the problem?
<BR>
(does setlocale() have to be called AFTER gtk_init() ?)
<BR>
<P>Thanks for that tips
<BR>
bye
<BR>
Oliver
<BR>
<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:%20scanimage%20-L%20crashes%20SuSE%206.4&In-Reply-To=&lt;38FB31FE.A9591244@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P><P><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:%20scanimage%20-L%20crashes%20SuSE%206.4&In-Reply-To=&lt;38FB31FE.A9591244@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0175.html">Harald Finster: "Re: Microtek Scanmaker 630 S"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0173.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0127.html">Bernhard Scheffold: "Re: scanimage -L crashes SuSE 6.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0177.html">Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#176">[ date ]</A>
<A HREF="index.html#176">[ thread ]</A>
<A HREF="subject.html#176">[ subject ]</A>
<A HREF="author.html#176">[ 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>Mon Apr 17 2000 - 08:58:25 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>