File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -487,6 +487,11 @@ interpreter::interpreter (application *app_context)
487487 sys::env::putenv (" LC_NUMERIC" , " C" );
488488 sys::env::putenv (" LC_TIME" , " C" );
489489
490+ // Perform system-dependent initialization here in case it has not
491+ // already been executed (for example, by the application
492+ // constructor).
493+ sysdep_init ();
494+
490495 // Initialize the default floating point unit control state.
491496 octave_set_default_fpucw ();
492497
Original file line number Diff line number Diff line change @@ -438,7 +438,8 @@ application::init ()
438438 && ! m_options.persist ()
439439 && ! m_options.traditional ());
440440
441- // This should probably happen early.
441+ // Perform system-dependent initialization here in case it is needed
442+ // prior to constructing the interpreter object.
442443 sysdep_init ();
443444}
444445
You can’t perform that action at this time.
0 commit comments