[vlc-devel] [PATCH V3 0/7] add vlc_qsort

Thomas Guillem thomas at gllm.fr
Tue Jan 22 14:30:04 CET 2019


Changes since V3:
 - Detect broken qsort_r from configure
 - Implement vlc_qsort in posix/utils.c depending of the qsort_r prototype

Thomas Guillem (7):
  vlc_common: implement VLC_WEAK for MACH-O
  core: utils: add vlc_qsort
  configure: detect broken qsort_r
  posix: implement vlc_qsort with POSIX or FREEBSD qsort_r
  playlist: use vlc_qsort
  filesystem: use vlc_qsort
  compat: remove qsort_r

 configure.ac                         | 17 +++++++-
 include/vlc_common.h                 |  2 +-
 include/vlc_fixups.h                 |  5 ---
 include/vlc_utils.h                  | 36 ++++++++++++++++
 src/Makefile.am                      |  4 ++
 src/libvlccore.sym                   |  1 +
 compat/qsort_r.c => src/misc/utils.c | 18 ++++----
 src/playlist/sort.c                  |  3 +-
 src/posix/utils.c                    | 63 ++++++++++++++++++++++++++++
 src/text/filesystem.c                |  3 +-
 10 files changed, 135 insertions(+), 17 deletions(-)
 create mode 100644 include/vlc_utils.h
 rename compat/qsort_r.c => src/misc/utils.c (82%)
 create mode 100644 src/posix/utils.c

-- 
2.20.1



More information about the vlc-devel mailing list