[Toybox] [Patch] - last, typo issue
Ashwini Sharma
ak.ashwini1981 at gmail.com
Thu May 22 23:23:23 PDT 2014
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.c 2014-05-23 08:03:10.000000000
+0530
+++ a/toybox-ee18ddbb783b/toys/pending/last.c 2014-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);
TT.list = NULL;
}
}
attached is the fix patch.
regards,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20140523/6a35645b/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last.c.patch
Type: application/octet-stream
Size: 443 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20140523/6a35645b/attachment-0004.obj>
More information about the Toybox
mailing list