Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
This commit is contained in:
17
ChangeLog
17
ChangeLog
@@ -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
|
||||
|
Reference in New Issue
Block a user