[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #994: http-session's session-del! fails when the entr
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #994: http-session's session-del! fails when the entry is the session-item's first binding |
Date: |
Tue, 05 Mar 2013 09:48:39 -0000 |
#994: http-session's session-del! fails when the entry is the session-item's
first binding
--------------------------+-------------------------------------------------
Reporter: evhan | Owner: mario
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: extensions | Version: 4.8.x
Keywords: http-session |
--------------------------+-------------------------------------------------
session-del! currently fails to remove an entry for the given key when
that entry is the first item in the pertinent session-item's bindings
alist (because alist-delete! just returns the alist's cdr when its car is
to be removed (without set-cdr!ing anything) and the session-item's
bindings slot is never updated to refer to the new start of the alist).
The attached patch fixes this.
--
Ticket URL: <http://bugs.call-cc.org/ticket/994>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #994: http-session's session-del! fails when the entry is the session-item's first binding,
Chicken Trac <=