]> code.ossystems Code Review - openembedded-core.git/commit
gettext: fix formatting issues
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 20 Feb 2017 08:46:35 +0000 (00:46 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:18 +0000 (12:29 -0800)
commit41eb2da1b05515e3803a331686fa6ca763ae2e69
tree4dfce44eda4f2a707162fd427c7de6735e67d6b5
parent4b9f483c5164c3aad831580a43bbf3ee6a13eb8c
gettext: fix formatting issues

Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
| gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset':
| gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security]
|                  fprintf (a_fp, str) ;

And:
gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
       fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);

[YOCTO #9544]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/gettext/gettext-0.19.8.1/cr-statement.c-timsort.h-fix-formatting-issues.patch [new file with mode: 0644]
meta/recipes-core/gettext/gettext_0.19.8.1.bb