boklm pushed to branch main at The Tor Project / Applications / RBM


Commits:
8885e87c by Nicolas Vigier at 2025-12-16T11:28:54+01:00
Bug 40095: Cached checksums should not be used for input files when 
refresh_input is enabled

- - - - -


1 changed file:

- lib/RBM.pm


Changes:

=====================================
lib/RBM.pm
=====================================
@@ -864,6 +864,7 @@ sub input_file_id {
     my $opts = { norec => { output_dir => '/out', getting_id => 1, }};
     return $filename . ':' . sha256_hex($t->('exec', $opts))
                 if $input_file->{exec};
+    shafile('sha256sum', $fname, { remove_cache => 1 }) if 
$t->('refresh_input');
     return input_file_id_hash($fname, $filename);
 }
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/8885e87c2def8fe2f85c76fd8df0226fff99f9a4

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/8885e87c2def8fe2f85c76fd8df0226fff99f9a4
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to