Re: XForms: sscanf strange behaviour

From: Jürg Hauser (juerg.hauser@krist.unibe.ch)
Date: Mon Nov 20 2000 - 07:35:52 EST

  • Next message: Angus Leeming: "XForms: ConvertShortcuts warning"

    # To subscribers of the xforms list from =?iso-8859-1?Q?J=FCrg_Hauser?= <juerg.hauser@krist.unibe.ch> :

    Clive and Steve,

    > > > 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

    setenv LC_NUMERIC C solves the problem!

    Thank you a lot!

    Juerg

    _________________________________________________
    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 : Mon Nov 20 2000 - 07:38:02 EST