gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 128/324: netstruct: Raise &unwritable, not an &unreadabl


From: gnunet
Subject: [gnunet-scheme] 128/324: netstruct: Raise &unwritable, not an &unreadable, in set%!.
Date: Tue, 21 Sep 2021 13:22:48 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit ce0f7d05d26b3b6af5b36bcfad653a6fb6ef2013
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat May 29 23:03:31 2021 +0200

    netstruct: Raise &unwritable, not an &unreadable, in set%!.
    
    A test will be added. Note that Guile's implementation of
    SRFI-26 is buggy and the test will (incorrectly) pass
    before this patch. It is being fixed.
    
    * gnu/gnunet/netstruct/procedural.scm (set%!): Raise an &unwritable
      instead of an &unreadable.
---
 gnu/gnunet/netstruct/procedural.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/gnunet/netstruct/procedural.scm 
b/gnu/gnunet/netstruct/procedural.scm
index 4842ca3..4004c47 100644
--- a/gnu/gnunet/netstruct/procedural.scm
+++ b/gnu/gnunet/netstruct/procedural.scm
@@ -235,7 +235,7 @@ structure @var{ns} in the bytevector slice @var{ns}."
             (~set (~set (netstruct-vtable part))))
        (unless ~set
          (raise (condition
-                 (make-unreadable)
+                 (make-unwritable)
                  (make-who-condition 'set%!)
                  (make-message-condition "field cannot be set"))))
        ((~set part) relevant value)))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]