[Issue 11520] [bionic] qsort is missing on linux/bionic

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11520

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|unspecified |D2

--


[Issue 11520] [bionic] qsort is missing on linux/bionic

2015-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11520

Joakim db...@joakim.fea.st changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--


[Issue 11520] [bionic] qsort is missing on linux/bionic

2014-01-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11520


joa...@airpost.net changed:

   What|Removed |Added

 CC||joa...@airpost.net


--- Comment #2 from joa...@airpost.net 2014-01-05 02:54:17 PST ---
There is a qsort in bionic, looks like it comes from FreeBSD:

https://github.com/android/platform_bionic/blob/master/libc/include/stdlib.h#L91
https://github.com/android/platform_bionic/blob/master/libc/upstream-freebsd/lib/libc/stdlib/qsort.c#L110

There is no qsort_r, which is what Druntime uses on linux by default: my guess
is that's what Elvis tried to use.  But you can use the fallback block from
rt/qsort.d that calls qsort on Android and I believe it should work fine.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11520] [bionic] qsort is missing on linux/bionic

2013-11-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11520



--- Comment #1 from Martin Nowak c...@dawg.eu 2013-11-16 14:01:25 PST ---
An existing (though copyrighted) implementation was removed with
https://github.com/D-Programming-Language/druntime/commit/45f1755cf13a1a376cc1572b5a9327d95fc0db75.
Also the used qsort_r isn't present in older glibc versions (see bug 10508).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---