Re: [dm-devel] [PATCH 05/30] multipath-tools: fix more gcc 9 -Wstringop-truncation warnings

2019-06-24 Thread Martin Wilck
On Fri, 2019-06-21 at 14:16 -0500, Benjamin Marzinski wrote: > On Fri, Jun 07, 2019 at 03:05:27PM +0200, Martin Wilck wrote: > > More often than not, this means replacing strncpy() by strlcpy(). > > This depends on "libmultipath: add size argument to dm_get_uuid()" > for > the the extra argument

Re: [dm-devel] [PATCH 05/30] multipath-tools: fix more gcc 9 -Wstringop-truncation warnings

2019-06-21 Thread Benjamin Marzinski
On Fri, Jun 07, 2019 at 03:05:27PM +0200, Martin Wilck wrote: > More often than not, this means replacing strncpy() by strlcpy(). This depends on "libmultipath: add size argument to dm_get_uuid()" for the the extra argument in the call to dm_get_uuid() from get_refwwid(). Otherwise, it looks

[dm-devel] [PATCH 05/30] multipath-tools: fix more gcc 9 -Wstringop-truncation warnings

2019-06-07 Thread Martin Wilck
More often than not, this means replacing strncpy() by strlcpy(). Signed-off-by: Martin Wilck --- libmpathpersist/mpath_persist.c | 8 libmultipath/configure.c| 7 --- libmultipath/discovery.c| 12 ++-- libmultipath/dmparser.c | 20