Re: [Libguestfs] [libguestfs PATCH 6/7] lib: introduce guestfs_int_make_pid_path()

2023-07-14 Thread Richard W.M. Jones
On Thu, Jul 13, 2023 at 07:10:51PM +0200, Laszlo Ersek wrote: > Introduce a small function for creating pathnames for PID files. > > guestfs_int_make_pid_path() is something of an amalgamation of > guestfs_int_make_temp_path() [1] and guestfs_int_create_socketname() [2]: > > - it creates a pathna

[Libguestfs] [libguestfs PATCH 6/7] lib: introduce guestfs_int_make_pid_path()

2023-07-13 Thread Laszlo Ersek
Introduce a small function for creating pathnames for PID files. guestfs_int_make_pid_path() is something of an amalgamation of guestfs_int_make_temp_path() [1] and guestfs_int_create_socketname() [2]: - it creates a pathname under sockdir, like [2], - it uses the handle's unique counter, like [