RE: [PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Subject: [PATCH] vfio/container: Replace basename with >g_path_get_basename > >g_path_get_basename() is a portable utility function that has the >advantage of not modifing the string argument. It also fixes a compile >

Re: [PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Cédric Le Goater
Hello, On 12/20/23 16:09, Zhao Liu wrote: Hi Cédric, On Wed, Dec 20, 2023 at 02:53:02PM +0100, Cédric Le Goater wrote: Date: Wed, 20 Dec 2023 14:53:02 +0100 From: Cédric Le Goater Subject: [PATCH] vfio/container: Replace basename with g_path_get_basename X-Mailer: git-send-email 2.43.0

Re: [PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Cédric Le Goater
On 12/20/23 14:53, Cédric Le Goater wrote: g_path_get_basename() is a portable utility function that has the advantage of not modifing the string argument. It also fixes a compile breakage with the Musl C library reported in [1]. [1]

Re: [PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Zhao Liu
Hi Cédric, On Wed, Dec 20, 2023 at 02:53:02PM +0100, Cédric Le Goater wrote: > Date: Wed, 20 Dec 2023 14:53:02 +0100 > From: Cédric Le Goater > Subject: [PATCH] vfio/container: Replace basename with g_path_get_basename > X-Mailer: git-send-email 2.43.0 > > g_path_get_basena

Re: [PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Eric Auger
Hi Cédric, On 12/20/23 14:53, Cédric Le Goater wrote: > g_path_get_basename() is a portable utility function that has the > advantage of not modifing the string argument. It also fixes a compile > breakage with the Musl C library reported in [1]. > > [1]

[PATCH] vfio/container: Replace basename with g_path_get_basename

2023-12-20 Thread Cédric Le Goater
g_path_get_basename() is a portable utility function that has the advantage of not modifing the string argument. It also fixes a compile breakage with the Musl C library reported in [1]. [1] https://lore.kernel.org/all/20231212010228.2701544-1-raj.k...@gmail.com/ Reported-by: Khem Raj