libctf: avoid strndup
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index 52c2e1e8fcbd01de7e4aee7818b37b4a8b28c2bc..f48ad5b213dc3083254b1383c6d35193e21be2ed 100644 (file)
@@ -1,3 +1,32 @@
+2019-06-06  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-decls.h: Include <libiberty.h>.
+       * ctf-lookup.c (ctf_lookup_by_name): Call xstrndup(), not strndup().
+
+2019-06-06  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-dump.c (ctf_dump_format_type): Cast size_t's used in printf()s.
+       (ctf_dump_objts): Likewise.
+       (ctf_dump_funcs): Likewise.
+       (ctf_dump_member): Likewise.
+       (ctf_dump_str): Likewise.
+
+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.
This page took 0.023219 seconds and 4 git commands to generate.