From 20bec5ff6a3bfb4ffa7ae475f762a20ac42df41b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 3 Oct 2010 21:41:28 -0700 Subject: * lib.h (lazy_string): Fix incorrect comment. * lib.c (split_str, split_str_set): It is necessary to protect input parameters against GC, because we cache their internal pointers, after which we no longer refer to the objects themselves. Moreover, we perform object allocation, and then keep using the internal pointers. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ee4b19cd..6ec76f4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2010-10-03 Kaz Kylheku + + * lib.h (lazy_string): Fix incorrect comment. + + * lib.c (split_str, split_str_set): It is necessary to protect input + parameters against GC, because we cache their internal pointers, + after which we no longer refer to the objects themselves. Moreover, + we perform object allocation, and then keep using the internal + pointers. + 2010-09-30 Kaz Kylheku * txr.1: Fix formatting problem. -- cgit v1.2.3