Re: [PATCH v2 02/15] gcc8.1: fix strncat warning

2018-07-03 Thread Jason A. Donenfeld
On Wed, Jul 4, 2018 at 1:48 AM Andy Green wrote: > $ rpm -q gcc > gcc-8.1.1-1.fc28.x86_64 > > It's the current package on Fedora 28. 8.1.1, thanks. ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

Re: [PATCH v2 02/15] gcc8.1: fix strncat warning

2018-07-03 Thread Andy Green
On 07/04/2018 07:45 AM, Jason A. Donenfeld wrote: Hi Andy, I can't actually reproduce this with gcc 8.1.0. Could you send me the output of your `gcc -v`? $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAME

Re: [PATCH v2 02/15] gcc8.1: fix strncat warning

2018-07-03 Thread Jason A. Donenfeld
Hi Andy, I can't actually reproduce this with gcc 8.1.0. Could you send me the output of your `gcc -v`? Thanks, Jason ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

[PATCH v2 02/15] gcc8.1: fix strncat warning

2018-06-17 Thread Andy Green
../ui-ssdiff.c: In function ‘replace_tabs’: ../ui-ssdiff.c:142:4: warning: ‘strncat’ output truncated copying between 1 and 8 bytes from a string of length 8 [-Wstringop-truncation] strncat(result, spaces, 8 - (strlen(result) % 8)); ^ Actual