libctf: avoid strndup
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index 6b0a425353c96f680ed6b4a38f02f0f363411aca..f48ad5b213dc3083254b1383c6d35193e21be2ed 100644 (file)
@@ -1,3 +1,21 @@
+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.
This page took 0.023809 seconds and 4 git commands to generate.