[bug #18129] sort users and groups in chown dialog



Follow-up Comment #2, bug #18129 (project mc):

In some cases, this patch produces incorrect sorting.

For example, the list

"<Unknown user>"
"root"
"bin"
"daemon"
"adm"
"lp"

is being sorted as following:

<Unknown user>
adm
daemon
lp
root
bin

You can see "bin" at the end of the sorted list.

Example code is attached.


(file #15710)
    _______________________________________________________

Additional Item Attachment:

File name: sort.c                         Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18129>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]