Re: [libvirt] [PATCH 07/12] storage: use GRegex virStorageBackendLogicalParseVolExtents

2019-11-14 Thread Peter Krempa
On Thu, Nov 14, 2019 at 13:14:33 +0100, Ján Tomko wrote: > On Thu, Nov 14, 2019 at 08:11:46AM +0100, Peter Krempa wrote: > > On Wed, Nov 13, 2019 at 16:48:48 +0100, Ján Tomko wrote: > > > Using GRegex simplifies the code since g_match_info_fetch will > > > copy the matched substring for us. > > >

Re: [libvirt] [PATCH 07/12] storage: use GRegex virStorageBackendLogicalParseVolExtents

2019-11-14 Thread Ján Tomko
On Thu, Nov 14, 2019 at 08:11:46AM +0100, Peter Krempa wrote: On Wed, Nov 13, 2019 at 16:48:48 +0100, Ján Tomko wrote: Using GRegex simplifies the code since g_match_info_fetch will copy the matched substring for us. Signed-off-by: Ján Tomko --- src/storage/storage_backend_logical.c | 49

Re: [libvirt] [PATCH 07/12] storage: use GRegex virStorageBackendLogicalParseVolExtents

2019-11-13 Thread Peter Krempa
On Wed, Nov 13, 2019 at 16:48:48 +0100, Ján Tomko wrote: > Using GRegex simplifies the code since g_match_info_fetch will > copy the matched substring for us. > > Signed-off-by: Ján Tomko > --- > src/storage/storage_backend_logical.c | 49 +++ > 1 file changed, 13

[libvirt] [PATCH 07/12] storage: use GRegex virStorageBackendLogicalParseVolExtents

2019-11-13 Thread Ján Tomko
Using GRegex simplifies the code since g_match_info_fetch will copy the matched substring for us. Signed-off-by: Ján Tomko --- src/storage/storage_backend_logical.c | 49 +++ 1 file changed, 13 insertions(+), 36 deletions(-) diff --git