From e2cbacff9022111a47cd2179b3161f7945e878f7 Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Tue, 14 Jul 2015 19:43:51 +0100 Subject: [PATCH] fgValidatePath: remove overly fragile test case Fix failure to start with non-standard TerraSync directory --- src/Main/util.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Main/util.cxx b/src/Main/util.cxx index d6be946fa..1974d64b3 100644 --- a/src/Main/util.cxx +++ b/src/Main/util.cxx @@ -156,7 +156,6 @@ void fgInitAllowedPaths() !fgValidatePath(globals->get_fg_home() + "/nolog",true).empty() || !fgValidatePath(globals->get_fg_home() + "no.log",true).empty() || !fgValidatePath(globals->get_fg_home() + "\\..\\no.log",false).empty() || - fgValidatePath(globals->get_fg_home() + "/./TerraSync/../Export\\yes..gg",true).empty() || fgValidatePath(globals->get_fg_home() + "/aircraft-data/yes..xml",true).empty() || fgValidatePath(globals->get_fg_root() + "/.\\yes.bmp",false).empty()) { flightgear::fatalMessageBox("Nasal initialization error", -- 2.39.5