Re: [libvirt] [PATCH] using one function to locate OpenVZ config files

2008-07-11 Thread Daniel Veillard
On Thu, Jul 10, 2008 at 08:53:45PM +0400, Evgeniy Sokolov wrote: There were 3 places with the same code. I moved it to separate function. other: use O_RDONLY to read config file Yes this makes sense, good cleanup, applied and commited, thanks ! Daniel -- Red Hat Virtualization

[libvirt] [PATCH] using one function to locate OpenVZ config files

2008-07-10 Thread Evgeniy Sokolov
There were 3 places with the same code. I moved it to separate function. other: use O_RDONLY to read config file Index: src/openvz_conf.c === RCS file: /data/cvs/libvirt/src/openvz_conf.c,v retrieving revision 1.28 diff -u -a -r1.28