sort & list-dir

Started by Endo on 11-Jun-2010/3:09:06-7:00
In the source of list-dir there is a line dir: sort dir As I know sort is a destructive action, it chages the given series. So is this line necesary? Sort action may change its behaviour in the future? Or just a simple mistake? sort dir ;no need to set-word I guess?
Good catch :) I doesn't appear to be necessary: dir: read %. dir2: sort copy dir sort dir dir = dir2 == true
Should I post this to Altme or DevBase (Chat) or RT reads this forum?
It's not a bug, since sort does return the sorted series. If you'd like to bring it to Carl's attention anyways, Devbase is probably the best place.

Reply

Replies are rate limited to reduce abuse.