Re: [libvirt] [PATCH] virpidfile: Allow whitespace character on the end of pidfile

2012-02-13 Thread Michal Privoznik
On 13.02.2012 14:42, Daniel Veillard wrote: > On Mon, Feb 13, 2012 at 02:29:44PM +0100, Michal Privoznik wrote: >> Some programs, notably dnsmasq, which are writing pidfiles on their >> own do append a whitespace character after pid, e.g. '\n'. >> --- >> src/util/virpidfile.c |6 -- >> 1 f

Re: [libvirt] [PATCH] virpidfile: Allow whitespace character on the end of pidfile

2012-02-13 Thread Daniel Veillard
On Mon, Feb 13, 2012 at 02:29:44PM +0100, Michal Privoznik wrote: > Some programs, notably dnsmasq, which are writing pidfiles on their > own do append a whitespace character after pid, e.g. '\n'. > --- > src/util/virpidfile.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > >

[libvirt] [PATCH] virpidfile: Allow whitespace character on the end of pidfile

2012-02-13 Thread Michal Privoznik
Some programs, notably dnsmasq, which are writing pidfiles on their own do append a whitespace character after pid, e.g. '\n'. --- src/util/virpidfile.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/util/virpidfile.c b/src/util/virpidfile.c index 34d1250..9c2996