[Toybox] [Patch] - last, typo issue

Rob Landley rob at landley.net
Fri May 23 02:11:45 PDT 2014


On 05/23/14 01:23, Ashwini Sharma wrote:
> Hi Rob, List,
> 
> Due to a type in last.c the build is broken.
> The callback function to __llist_traverse()__ is typed wrong.
> 
> diff -Naur b/toybox-ee18ddbb783b/toys/pending/last.c
> a/toybox-ee18ddbb783b/toys/pending/last.c
> --- b/toybox-ee18ddbb783b/toys/pending/last.c2014-05-23
> 08:03:10.000000000 +0530
> +++ a/toybox-ee18ddbb783b/toys/pending/last.c2014-05-23
> 11:45:20.059411741 +0530
> @@ -36,7 +36,7 @@
>  static void free_list()
>  {
>    if (TT.list) {
> -    llist_traverse(TT.list, free_arg_list);
> +    llist_traverse(TT.list, llist_free_arg);

Oops. (I did test build it... and then changed the name in lib/llist.c
afterwards.)

Rob

 1400836305.0


More information about the Toybox mailing list