
17 Dec
2010
17 Dec
'10
9:51 p.m.
Dear Mike Frysinger,
In message 201012171535.08619.vapier@gentoo.org you wrote:
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
The old code did not sort the output of pirntenv either - but the now code does.
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.
Guess how printenv sorts the entries?
See lib/qsort.c
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"I can call spirits from the vasty deep."
"Why so can I, or so can any man; but will they come when you do call
for them?" - Shakespeare, 1 King Henry IV, Act III, Scene I.