libctf: mark various args as unused in the !HAVE_MMAP case
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index 01b8d8da2486a5e5e85c4d3f420fbff23fdb6ff2..2a37e16cbada8c93f9f7f5151764509092ef98ba 100644 (file)
@@ -1,3 +1,44 @@
+2019-06-06  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-archive.c (arc_mmap_header): Mark fd as potentially unused.
+       * ctf-subr.c (ctf_data_protect): Mark both args as potentially unused.
+
+2019-06-05  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-archive.c (ctf_arc_write): Eschew %zi format specifier.
+       (ctf_arc_open_by_offset): Likewise.
+       * ctf-create.c (ctf_add_type): Likewise.
+
+2019-06-04  Tom Tromey  <tromey@adacore.com>
+
+       * ctf-create.c (ctf_add_encoded, ctf_add_slice)
+       (ctf_add_member_offset): Use CHAR_BIT, not NBBY.
+
+2019-06-04  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure.ac: Check for O_CLOEXEC.
+       * ctf-decls.h (O_CLOEXEC): Define (to 0), if need be.
+       * config.h.in: Regenerate.
+       * configure: Likewise.
+
+2019-06-04  Nick Alcock  <nick.alcock@oracle.com>
+
+       * qsort_r.c: Rename to...
+       * ctf-qsort_r.c: ... this.
+       (_quicksort): Define to ctf_qsort_r.
+       * ctf-decls.h (qsort_r): Remove.
+       (ctf_qsort_r): Add.
+       (struct ctf_qsort_arg): New, transport the real ARG and COMPAR.
+       (ctf_qsort_compar_thunk): Rearrange the arguments to COMPAR.
+       * Makefile.am (libctf_a_LIBADD): Remove.
+       (libctf_a_SOURCES): New, add ctf-qsort_r.c.
+       * ctf-archive.c (ctf_arc_write): Call ctf_qsort_r, not qsort_r.
+       * ctf-create.c (ctf_update): Likewise.
+       * configure.ac: Check for BSD versus GNU qsort_r signature.
+       * Makefile.in: Regenerate.
+       * config.h.in: Likewise.
+       * configure: Likewise.
+
 2019-06-03  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-dump.c (ctf_dump_funcs): Free in the right place.
This page took 0.023352 seconds and 4 git commands to generate.