diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-29 13:00:16 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-29 13:49:52 -0700 |
commit | 1ce0e7dc093c81afd3565e1977a1d0f00116df74 (patch) | |
tree | b5a0ae15a82ed4a3232f4b7e47b8a489fb9c6ead /doc | |
parent | a6c54be167bd5be41013a254b4e6ba840420a1d0 (diff) | |
download | gnulib-1ce0e7dc093c81afd3565e1977a1d0f00116df74.tar.gz |
qsort_r: new module, for GNU-style qsort_r
This works even on FreeBSD, which has an incompatible qsort_r API.
* MODULES.html.sh: Add it.
* doc/glibc-functions/qsort_r.texi: It's now supported.
* lib/qsort.c: New file, taken from glibc with minor changes
inside "#ifndef _LIBC" and with an unnecessary "#include <alloca.h>"
removed.
* lib/qsort_r.c: New file, compiled only on FreeBSD.
* lib/stdlib.in.h (qsort_r): Declare in the usual way.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS):
* modules/qsort_r, modules/qsort_r-tests: New files.
* modules/stdlib (Makefile): Set up its defaults.
* tests/test-qsort_r.c: New file.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/glibc-functions/qsort_r.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/glibc-functions/qsort_r.texi b/doc/glibc-functions/qsort_r.texi index 94df97298c..ced8c7084b 100644 --- a/doc/glibc-functions/qsort_r.texi +++ b/doc/glibc-functions/qsort_r.texi @@ -6,11 +6,14 @@ Gnulib module: --- Portability problems fixed by Gnulib: @itemize +@item +This function has an incompatible API on some platforms: +FreeBSD 10. +@item +This function is missing on some platforms: +glibc 2.7, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. @end itemize Portability problems not fixed by Gnulib: @itemize -@item -This function is missing on some platforms: -glibc 2.7, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. @end itemize |