Re: [PATCH 03/51] block: Unify the get_tmp_filename() implementation

2022-08-31 Thread Bin Meng
Hi Marc-André, On Wed, Aug 31, 2022 at 8:54 PM Marc-André Lureau wrote: > > Hi Bin > > On Wed, Aug 24, 2022 at 1:42 PM Bin Meng wrote: >> >> From: Bin Meng >> >> At present get_tmp_filename() has platform specific implementations >> to get the directory to use for temporary files. Switch over t

Re: [PATCH 03/51] block: Unify the get_tmp_filename() implementation

2022-08-31 Thread Daniel P . Berrangé
On Wed, Aug 31, 2022 at 04:54:41PM +0400, Marc-André Lureau wrote: > Hi Bin > > On Wed, Aug 24, 2022 at 1:42 PM Bin Meng wrote: > > > From: Bin Meng > > > > At present get_tmp_filename() has platform specific implementations > > to get the directory to use for temporary files. Switch over to us

Re: [PATCH 03/51] block: Unify the get_tmp_filename() implementation

2022-08-31 Thread Marc-André Lureau
Hi Bin On Wed, Aug 24, 2022 at 1:42 PM Bin Meng wrote: > From: Bin Meng > > At present get_tmp_filename() has platform specific implementations > to get the directory to use for temporary files. Switch over to use > g_get_tmp_dir() which works on all supported platforms. > > It "works" quite di

[PATCH 03/51] block: Unify the get_tmp_filename() implementation

2022-08-24 Thread Bin Meng
From: Bin Meng At present get_tmp_filename() has platform specific implementations to get the directory to use for temporary files. Switch over to use g_get_tmp_dir() which works on all supported platforms. Signed-off-by: Bin Meng --- block.c | 16 ++-- 1 file changed, 2 insertion