[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 11/11] tests/9pfs: add local Tmkdir test
From: |
Christian Schoenebeck |
Subject: |
Re: [PATCH v2 11/11] tests/9pfs: add local Tmkdir test |
Date: |
Fri, 02 Oct 2020 16:30:17 +0200 |
On Freitag, 2. Oktober 2020 16:23:31 CEST Daniel P. Berrangé wrote:
> No need to realloate a new array - just shuffle down the elements in
> the array you get back from g_strsplit to discard the empty ones. Sure
> the array will end up with a series of NULLs at the end but that is
> harmless.
>
> both g_strsplit/g_strfreev work in terms of a normal allocated "char **"
> array, so there's no risk of changes to way memory is allocated.
Ok then, if you say so ... fine with me.
Best regards,
Christian Schoenebeck
[PATCH v2 08/11] tests/9pfs: introduce local tests, Christian Schoenebeck, 2020/10/02
[PATCH v2 04/11] tests/qtest/qos-test: dump qos graph if verbose, Christian Schoenebeck, 2020/10/02
[PATCH v2 07/11] tests/9pfs: change qtest name prefix to synth, Christian Schoenebeck, 2020/10/02
[PATCH v2 03/11] libqos/qgraph: add qos_dump_graph(), Christian Schoenebeck, 2020/10/02
[PATCH v2 09/11] tests/9pfs: wipe local 9pfs test directory, Christian Schoenebeck, 2020/10/02
[PATCH v2 06/11] tests/qtest/qos-test: dump QEMU command if verbose, Christian Schoenebeck, 2020/10/02