[libvirt] [PATCH 07/14] Add virFileMakeParentPath helper function

Eric Blake eblake at redhat.com
Fri Feb 7 16:58:24 UTC 2014


On 02/07/2014 08:33 AM, Daniel P. Berrange wrote:
> Add a helper function which takes a file path and ensures
> that all directory components leading upto the file exist.

s/upto/up to/

> IOW, it strips the filename part of the path and passes
> the result to virFileMakePath.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virfile.c       | 27 +++++++++++++++++++++++++++
>  src/util/virfile.h       |  1 +
>  3 files changed, 29 insertions(+)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140207/c6cf1b77/attachment-0001.sig>


More information about the libvir-list mailing list