|Summary:||ASTERISK-18141: "make menuselect" in 188.8.131.52 does not alphabetically sort options|
|Reporter:||Richard Miller (ulogic)||Labels:|
|Date Opened:||2011-07-14 22:54:21||Date Closed:||2011-07-27 15:17:25|
|Environment:||Attachments:||( 0) menuselect.tar|
( 1) sort-order.diff
|Description:||"make menuselect" in version 184.108.40.206 no longer sorts the options. This was not the case in the the prior version 220.127.116.11. This makes it difficult to compare build options between versions. It is most apparent when selecting Applications, Channel Drivers, Codec Translators, and Dialplan Functions.|
|Comments:||By: Sean Bright (seanbright) 2011-07-27 10:27:42.168-0500|
Can you take a screenshot (if possible)? I'm seeing everything sorted (except compiler flags).
By: Richard Miller (ulogic) 2011-07-27 12:41:54.782-0500
I tried "make menuselect" on 4 different machines. The two old ones using Fedora 5 and SuSE 10.1 with GCC 4.1 don't exhibit the problem. The two newer ones using Fedora 14 and SuSE 11.4 with GCC 4.5 have the problem. The attached archive has 4 screenshots from each of the Fedora and SuSE machines because of different ncurses implementations.
By: Tilghman Lesher (tilghman) 2011-07-27 13:36:18.180-0500
The options are explicitly sorted by most-used-first. It's not an alpha-sort. This is intentional.
By: Sean Bright (seanbright) 2011-07-27 13:41:32.266-0500
Could you try the attached patch? Do a `make distclean` before testing. I doubt it will work but it's worth a shot.
By: Leif Madsen (lmadsen) 2011-07-27 14:14:58.656-0500
Works for me!
By: Richard Miller (ulogic) 2011-07-27 14:17:58.308-0500
The patch corrected the problem in both the Fedora 14 and SuSE 11.4 distros. Thanks!