diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-02 19:46:52 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-02 19:46:52 +0000 |
commit | 1d1fd21e3536c1c593a3efa4c939d8035f594f76 (patch) | |
tree | 05e2fe55bc8e22b10ec129346f1be4c0b6727091 /docs | |
parent | 744bfe6bfcfd653d714aedeb061d196cb60e6d03 (diff) | |
download | busybox-w32-1d1fd21e3536c1c593a3efa4c939d8035f594f76.tar.gz busybox-w32-1d1fd21e3536c1c593a3efa4c939d8035f594f76.tar.bz2 busybox-w32-1d1fd21e3536c1c593a3efa4c939d8035f594f76.zip |
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.
git-svn-id: svn://busybox.net/trunk/busybox@14978 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions