From 4e51516a961ad0dfe4e0f7a5569d68e5421d3e92 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 16 Dec 2022 07:00:45 +0100 Subject: [PATCH] Import of grid models: Support mix of lower and upper case letters in file name * #9529 libecl: Allow mix of upper and lower case in file names --- ThirdParty/Ert/lib/ecl/ecl_util.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ThirdParty/Ert/lib/ecl/ecl_util.cpp b/ThirdParty/Ert/lib/ecl/ecl_util.cpp index f0ddca45dd..d8efe8c7b1 100644 --- a/ThirdParty/Ert/lib/ecl/ecl_util.cpp +++ b/ThirdParty/Ert/lib/ecl/ecl_util.cpp @@ -355,7 +355,11 @@ static bool valid_base(const char * input_base, bool * upper_case) { if (upper_case) *upper_case = upper; - return !(lower && upper); + + // Disable checking of mixed upper and lower case + // https://github.com/OPM/ResInsight/issues/9529 + return true; + }