Re: [Libosinfo] [PATCH osinfo-db] Abort on XML errors

2016-11-08 Thread Guido Günther
On Tue, Nov 08, 2016 at 09:46:13AM +, Daniel P. Berrange wrote: > On Tue, Nov 08, 2016 at 08:14:07AM +0100, Guido Günther wrote: > > While we abort on XML errors the first time the output XML already gets > > written so a subsequent make call will continue with the next file > > leading to an i

Re: [Libosinfo] [PATCH osinfo-db] Abort on XML errors

2016-11-08 Thread Daniel P. Berrange
On Tue, Nov 08, 2016 at 08:14:07AM +0100, Guido Günther wrote: > While we abort on XML errors the first time the output XML already gets > written so a subsequent make call will continue with the next file > leading to an incomplete database. Use a temporary file to fix this. > --- > Makefile | 3