diff options
author | Roy Marples <roy@marples.name> | 2007-09-18 14:08:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-18 14:08:56 +0000 |
commit | 75b5fdff29d00508dc62ff848e63561bd9fe06a7 (patch) | |
tree | 3d7137ac93543a23f23af6f3bf15e0d763d91d3e /ChangeLog | |
parent | c8b03c96b7da55de503c8e3cdab8d49d7358dd17 (diff) |
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -3,16 +3,17 @@ 18 Sep 2007; Roy Marples <uberlord@gentoo.org>: - API change! rc_config_env is renamed to rc_make_env and takes no argument. + API changes! - API change! rc_ls_dir, rc_get_config and rc_get_list no longer take - a starting list as a first argument. Instead, use rc_strlist_join - to append or prepend the new list to an existing list. + rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list + as a first argument. Instead, use rc_strlist_join to append or prepend + the new list to an existing list. - API change! rc_strlist_add and friends now take char *** instead of - char ** and return a pointer to the item added instead of the new - list head. This is so we can easily tell if the item was successfully - added or not instead of iterating through the list looking for it. + rc_strlist_add and friends now take char *** instead of char ** and + return a pointer to the item added instead of the new list head. This is + so we can easily tell if the item was successfully added or not instead + of iterating through the list looking for it. rc_strlist_join now frees + list2 for ease of use. list = rc_strlist_add (list, item); becomes |