[XForms] strange side effect of fl_initialize()

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Thu Oct 14 01:37:56 EDT 2004


>>>>> "Jürg" == Jürg Hauser <juerg.hauser at krist.unibe.ch> writes:

Jürg> To subscribers of the xforms list Hi all, I'm trying to move a
Jürg> program which runs on IRIX and RedHat 7.3 to SuSE 9.1. The
Jürg> program fails because a sscanf() instruction not involved in any
Jürg> Xforms business gives strange results. If I remove
Jürg> fl_initialize() (and all other fl_ instructions) sscanf() works
Jürg> prefectly well. If I add fl_initalize() only again, sscanf()
Jürg> behaves strange again. I've tried XForms 1.0 and 1.0.90. Any
Jürg> ideas?

A wild guess: fl_initialize calls setlocale(LC_ALL,""). Could it be
that it affects sscanf()?

JMarc



More information about the Xforms mailing list