ZORBA_URI_PATH and ZORBA_LIB_PATH ignored in root_static_context.cpp

Bug #1263680 reported by William Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Unassigned

Bug Description

In root_static_context::init the lRootURIPath and lRootLibPath lists are populated with built-in values and then used to set the uri/lib path via set_uri_path and set_lib_path. The code then updates lRootURIPath and lRootLibPath using the value of ZORBA_URI_PATH and ZORBA_LIB_PATH... but this has no effect as the values have already been copied via set_uri_path and set_lib_path.

The attached patch pushes the calls to set_uri_path and set_lib_path to after the retrieval of environment variables meaning the environment variables are no longer ignored.

Revision history for this message
William Lee (pseudonym-wlee) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.