From 637275cbd365720306f627eb8364b25275ad6033 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 May 2021 20:08:02 +0100 Subject: [PATCH] shapelib: Note a bug! Signed-off-by: Ian Jackson --- src/shapelib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shapelib.rs b/src/shapelib.rs index ef1d3913..927daebc 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -608,6 +608,7 @@ impl PieceSpec for MultiSpec { let item = self.items.get(i).ok_or_else( || SpE::InternalError(format!("item {:?} from {:?}", i, &self)) )?; + // xxx dedupe let item = format!("{}{}{}", &self.prefix, item, &self.suffix); let lib = self.lib.clone(); ItemSpec { lib, item }.find_load(ig,depth)?.into() -- 2.30.2