Re: [U-Boot] env: fix env var autocompletion

2011-04-04 Thread Peter Barada
> On Monday, April 04, 2011 21:17:45 Kim Phillips wrote: >> commit 560d424b6d7cd4205b062ad95f1b104bd4f8bcc3 "env: re-add >> support for auto-completion" fell short of its description - >> the 'used' logic in hmatch_r was reversed - 'used' is 0 if >> the hash table entry is not used, or -1 if delete

Re: [U-Boot] env: fix env var autocompletion

2011-04-04 Thread Mike Frysinger
On Monday, April 04, 2011 21:17:45 Kim Phillips wrote: > commit 560d424b6d7cd4205b062ad95f1b104bd4f8bcc3 "env: re-add > support for auto-completion" fell short of its description - > the 'used' logic in hmatch_r was reversed - 'used' is 0 if > the hash table entry is not used, or -1 if deleted. Th

[U-Boot] env: fix env var autocompletion

2011-04-04 Thread Kim Phillips
commit 560d424b6d7cd4205b062ad95f1b104bd4f8bcc3 "env: re-add support for auto-completion" fell short of its description - the 'used' logic in hmatch_r was reversed - 'used' is 0 if the hash table entry is not used, or -1 if deleted. This patch makes hmatch_r actually match on valid ('used') entrie