From d238c04f7fb4d07e1c374ba884da8528692a9228 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 7 Feb 2013 12:48:24 +0000 Subject: [PATCH] Fix inadvertant breakage of hash file creation. --- src/lib/film.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/film.cc b/src/lib/film.cc index 0a989201b..34289e65f 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1317,7 +1317,11 @@ Film::info_path (int f) const s << setfill('0') << f << ".md5"; p /= s.str(); - return file (p.string ()); + + /* info_dir() will already have added any initial bit of the path, + so don't call file() on this. + */ + return p.string (); } string -- 2.30.2