From 6a272ff3e0e7ff9f2534c8bb83ea3bb83f641920 Mon Sep 17 00:00:00 2001 From: Markus Triska Date: Mon, 28 Mar 2016 10:41:07 +0200 Subject: [PATCH] read_pending_codes/3 --> get_pending_codes/3 Rational: "read" is used for complete Prolog terms. --- sha.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha.pl b/sha.pl index 091d208..61ed3e1 100644 --- a/sha.pl +++ b/sha.pl @@ -110,7 +110,7 @@ Ctx = Ctx0, Hash = Hash0. update_hash(In, Ctx0, Ctx, _Hash0, Hash) :- - read_pending_codes(In, Data, []), + get_pending_codes(In, Data, []), sha_hash_ctx(Ctx0, Data, Ctx1, Hash1), update_hash(In, Ctx1, Ctx, Hash1, Hash).