Re: scanimage -L crashes SuSE 6.4

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Mon Apr 17 2000 - 08:47:10 PDT

  • Next message: Nick Lamb: "Re: scanimage -L crashes SuSE 6.4"

    Nick Lamb wrote: XSane creates a new layer => XSane specifies

    >
    > The fix for XSane is to turn off LC_NUMERIC localisation while talking
    > over the wire to Gimp, the simplest way to achieve this is to add
    >
    > #include <locale.h>
    > ... in the appropriate place ...
    >
    > and add a line which says...
    >
    > setlocale(LC_NUMERIC, "C");
    >
    > soon after gtk_init() only when Gimp is being used, perhaps at the
    > start of the #ifdef'd group soon after you call gtk_init().
    >

    Hi Nick, did you already test if that solves the problem?
    (does setlocale() have to be called AFTER gtk_init() ?)

    Thanks for that tips
    bye
    Oliver

    --
    Homepage:       http://www.wolfsburg.de/~rauch
    sane-umax:      http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:          http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:         mailto:Oliver.Rauch@Wolfsburg.DE
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Mon Apr 17 2000 - 08:58:25 PDT