Re: [libvirt] [PATCH] Create file in virFileWriteStr() if it doesn't exist

2010-12-02 Thread Eric Blake
On 12/02/2010 06:23 AM, Jean-Baptiste Rouault wrote: > This patch adds a virFileWriteStrEx() function with a > third parameter to set the created file permissions. I'm not a fan of Microsoft's naming conventions (Ex conveys no meaning, and it doesn't scale well to future extensions[1]). Can we co

[libvirt] [PATCH] Create file in virFileWriteStr() if it doesn't exist

2010-12-02 Thread Jean-Baptiste Rouault
This patch adds a virFileWriteStrEx() function with a third parameter to set the created file permissions. virFileWriteStr() calls this new function with a default value for the mode parameter. --- src/util/util.c | 11 --- src/util/util.h |1 + 2 files changed, 9 insertions(+), 3 de