aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cut/cut-cuts-an-unclosed-range
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-02 19:46:52 +0000
committerRob Landley <rob@landley.net>2006-05-02 19:46:52 +0000
commit2631486f1bfac59f9217350effcda627da7be875 (patch)
tree05e2fe55bc8e22b10ec129346f1be4c0b6727091 /testsuite/cut/cut-cuts-an-unclosed-range
parent6389ff111569d985112e63809a75149e03c7983b (diff)
downloadbusybox-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/cut/cut-cuts-an-unclosed-range')
0 files changed, 0 insertions, 0 deletions