Mail archive
alpine-user

Re: [alpine-user] Bug in busybox's sort -s ?

From: Alexey Luchko <soulne4ny_at_gmail.com>
Date: Mon, 21 Aug 2017 12:41:46 +0300

https://git.busybox.net/busybox/tree/coreutils/sort.c#n486
It uses qsort() that is not stable by default. It could have been
made stable by adding line number to the comparison key, however there
is no evidence of any attempt for it.
https://git.busybox.net/busybox/tree/coreutils/sort.c#n125

Regargs
Alex


---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Mon Aug 21 2017 - 12:41:46 GMT