Lock TROUBLEPREFIX after parsing sysconf.
This commit is contained in:
@@ -411,6 +411,11 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
|
|||||||
iflags.windowtype_deferred = TRUE;
|
iflags.windowtype_deferred = TRUE;
|
||||||
copy_sysconf_content();
|
copy_sysconf_content();
|
||||||
initoptions();
|
initoptions();
|
||||||
|
|
||||||
|
/* Now that sysconf has had a chance to set the TROUBLEPREFIX, don't
|
||||||
|
allow it to be changed from here on out. */
|
||||||
|
fqn_prefix_locked[TROUBLEPREFIX] = TRUE;
|
||||||
|
|
||||||
copy_config_content();
|
copy_config_content();
|
||||||
process_options(argc, argv);
|
process_options(argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user