From: Mike Frysinger Date: Fri, 17 Dec 2010 15:35:07 -0500 Subject: [U-Boot] [RFC PATCH 2/2] env: re-add support for auto-completion In-Reply-To: <20101217201014.359B515192A@gemini.denx.de> References: <1291807565-4831-1-git-send-email-vapier@gentoo.org> <1291807565-4831-2-git-send-email-vapier@gentoo.org> <20101217201014.359B515192A@gemini.denx.de> Message-ID: <201012171535.08619.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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