Re: [libvirt] [PATCH v4 1/7] pidfile: Make checking binary path in virPidFileRead optional

2012-02-10 Thread Eric Blake
On 02/06/2012 06:50 AM, Peter Krempa wrote: > This patch changes behavior of virPidFileRead to enable passing NULL as > path to the binary the pid file should be checked against to skip this > check. This enables using this function for reading files that have same > semantics as pid files, but bel

[libvirt] [PATCH v4 1/7] pidfile: Make checking binary path in virPidFileRead optional

2012-02-06 Thread Peter Krempa
This patch changes behavior of virPidFileRead to enable passing NULL as path to the binary the pid file should be checked against to skip this check. This enables using this function for reading files that have same semantics as pid files, but belong to unknown processes. --- src/util/virpidfile.c