Re: XForms: sscanf strange behaviour

From: Clive A Stubbings (xforms@vjet.demon.co.uk)
Date: Thu Nov 16 2000 - 16:00:39 EST

  • Next message: yann.guichoux@ago.fr: "Re: XForms: pixel value & rgb triplet"

    # To subscribers of the xforms list from Clive A Stubbings <xforms@vjet.demon.co.uk> :

    Steve,

    > # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
    >
    > > I'm trying to port a XForms / OpenGL application from SGI to SuSE Linux 7.0.
    > > From the moment I call fl_initialize, sscanf and fscanf don't scan floating
    > > point numbers properly any more.
    >
    > Unless there's something broken in your libc, I see no reason for this
    > happening. Can you provide test code?

    Look at the source email address then think LOCALE...

    You could try

        setenv LC_NUMERIC C

    Though I don't promise anything.. I think there was a post to this list a
    while ago about LOCALE issues..

    Cheers
    Clive
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Thu Nov 16 2000 - 16:16:35 EST