Project

General

Profile

Actions

Bug #18997

closed

Don't define ruby_qsort when POSIX qsort_r is available

Added by delphij (Xin Li) about 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Not applicable
[ruby-core:109845]

Description

The current code would define ruby_qsort as a wrapper of qsort_s when it is available. When both qsort_s and POSIX (GNU) qsort_r are available, we should call qsort_r directly instead, and the qsort_s wrapper is redundant.

Proposed patch at https://github.com/ruby/ruby/pull/6332 and can be applied on Ruby 2.7 and newer Ruby versions


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0ClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0