From 9c7efc01aed18b26b012989d7ab2effb7a707775 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 24 Oct 2019 16:25:50 +0300 Subject: [PATCH] Fix a hang-up of UNV import Hang-up at reading an empty data-set at the file end: -1 2477 -1 --- src/DriverUNV/UNV_Utilities.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DriverUNV/UNV_Utilities.hxx b/src/DriverUNV/UNV_Utilities.hxx index e41ff1ba3..3346f7c92 100644 --- a/src/DriverUNV/UNV_Utilities.hxx +++ b/src/DriverUNV/UNV_Utilities.hxx @@ -79,6 +79,8 @@ namespace UNV { } if (news == ds_name) return true; + + olds.clear(); } // should never end up here return false; -- 2.39.2