chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21882b
)
shapelib: Note a bug!
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 19:08:02 +0000
(20:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 19:40:31 +0000
(20:40 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index ef1d39136fa0d6b6f087def1a718b7fd8908190b..927daebccebc51b3b81ed2f348880e5e4c8e2614 100644
(file)
--- 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()