diff options
author | Rob Landley <rob@landley.net> | 2006-05-02 19:46:52 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-02 19:46:52 +0000 |
commit | 2631486f1bfac59f9217350effcda627da7be875 (patch) | |
tree | 05e2fe55bc8e22b10ec129346f1be4c0b6727091 /testsuite/touch/touch-creates-file | |
parent | 6389ff111569d985112e63809a75149e03c7983b (diff) | |
download | busybox-2631486f1bfac59f9217350effcda627da7be875.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.
Diffstat (limited to 'testsuite/touch/touch-creates-file')
0 files changed, 0 insertions, 0 deletions