diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2010-02-27 11:38:12 +0900 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2010-02-27 11:38:12 +0900 |
commit | 501b00b590d74253346e4c3b17331dcc07a42145 (patch) | |
tree | 3c0675adf5f5b1f64fef87c0926be21ace1eee59 /ChangeLog | |
parent | 647ec2123df81073de01a1799393fb1dbf738c29 (diff) | |
download | txr-501b00b590d74253346e4c3b17331dcc07a42145.tar.gz txr-501b00b590d74253346e4c3b17331dcc07a42145.tar.bz2 txr-501b00b590d74253346e4c3b17331dcc07a42145.zip |
* 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).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2010-02-27 Kaz Kylheku <kkylheku@gmail.com> + + * 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 <kkylheku@gmail.com> * lib.c (init_str): Bugfix: copy only len characters, not len + 1, so |