# # # patch "file_io.cc" # from [c5f5d2af363c353d3c99354427582835f44de283] # to [e18d07679c2d210a40f18b67ed0b4b96f5a2c21a] # ============================================================ --- file_io.cc c5f5d2af363c353d3c99354427582835f44de283 +++ file_io.cc e18d07679c2d210a40f18b67ed0b4b96f5a2c21a @@ -558,14 +558,15 @@ calculate_ident(file_path const & file, file_id & ident) { // no conversions necessary, use streaming form - static cached_botan_pipe p(new Botan::Pipe(new Botan::Hash_Filter("SHA-160")); + static cached_botan_pipe + p(new Botan::Pipe(new Botan::Hash_Filter("SHA-160"))); // Best to be safe and check it isn't a dir. assert_path_is_file(file); Botan::DataSource_Stream infile(file.as_external(), true); p->process_msg(infile); - ident = file_id(p->read_all_as_string(Botan::Pipe::LAST_MESSAGE)); + ident = file_id(p->read_all_as_string(Botan::Pipe::LAST_MESSAGE)); } // Local Variables: