diff options
author | Bernhard Reutner-Fischer | 2006-05-19 10:15:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-19 10:15:47 +0000 |
commit | 006955556f9677ecf73aac582497f6efc47d383f (patch) | |
tree | 463ca430a926b59419c750ecb279150af878bfe8 /editors | |
parent | cc8e90d1fbaad77ba6748635792aad7121c212bb (diff) | |
download | busybox-006955556f9677ecf73aac582497f6efc47d383f.zip busybox-006955556f9677ecf73aac582497f6efc47d383f.tar.gz |
Patch from Shaun Jackman:
ls has an ugly bug. ls uses an array of pointers, the elements of
which are all in a linked list. To free the elements, instead of
freeing all the elements in the array, array[0..nelements], it frees
by iterating the linked list starting at array[0], which it assumes is
the head of the list. Unfortunately, ls also sorts the array! So,
array[0] is no longer the head, but somewhere in the middle of the
linked list. This patch fixes this bug, and also adds an
ENABLE_FEATURE_CLEAN_UP stanza.
(r14978 from trunk)
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions