[U-Boot] [RFC PATCH 2/2] env: re-add support for auto-completion

Mike Frysinger vapier at gentoo.org
Fri Dec 17 21:35:07 CET 2010


On Friday, December 17, 2010 15:10:14 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > Currently, only basic completion is supported (no globs), but this is
> > what we had previously.  The downside is that the results are not
> > returned in any sorted order.  The upside is that we get any results at
> > all.
> 
> Why can we not collect the results and sort them like we do for "env
> print" ?

hmm, i dont think the previous code did do any sorting.  it just relied on the 
results of the env code being sorted already.  i also dont think there is any 
support in u-boot today for sorting ?  so i'd basically have to import 
qsort(), and i didnt think the size trade off was worth while.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101217/6b123fa3/attachment.pgp 


More information about the U-Boot mailing list