Re: [PATCH xf86-video-ati] Use strcpy for RandR output property names

2018-07-24 Thread Alex Deucher
On Tue, Jul 24, 2018 at 11:32 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Instead of strncpy with the string length. Avoids new warnings with GCC > 8: > > ../../src/drmmode_display.c: In function ‘drmmode_output_create_resources’: > ../../src/drmmode_display.c:2240:2: warning: ‘strncpy’

[PATCH xf86-video-ati] Use strcpy for RandR output property names

2018-07-24 Thread Michel Dänzer
From: Michel Dänzer Instead of strncpy with the string length. Avoids new warnings with GCC 8: ../../src/drmmode_display.c: In function ‘drmmode_output_create_resources’: ../../src/drmmode_display.c:2240:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a