From 501b00b590d74253346e4c3b17331dcc07a42145 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 27 Feb 2010 11:38:12 +0900 Subject: * lib.h (split_str_sep): Declared. * lib.c (split_str_sep): New function. (split_str): Semantics changed; the second argument is not a set of separator characters (like in split_str_sep) but rather a separator string. Fixed bug: if the input string is empty, the output list is empty. This caused infinite looping behavior in @(freeform). --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index cf47df66..654122fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-02-27 Kaz Kylheku + + * lib.h (split_str_sep): Declared. + + * lib.c (split_str_sep): New function. + (split_str): Semantics changed; the second argument + is not a set of separator characters (like in split_str_sep) + but rather a separator string. Fixed bug: if the input + string is empty, the output list is empty. This caused + infinite looping behavior in @(freeform). + 2010-02-24 Kaz Kylheku * lib.c (init_str): Bugfix: copy only len characters, not len + 1, so -- cgit v1.2.3