Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-08 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 05:14:33PM -0400, Amy Griffis wrote: Paolo Bonzini wrote: [Mon Oct 05 2009, 04:54:27AM EDT] On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic

Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-05 Thread Paolo Bonzini
On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic links at the same time? If so, you can use the canonicalize-lgpl gnulib module, which portably provides the following

Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-05 Thread Amy Griffis
Paolo Bonzini wrote: [Mon Oct 05 2009, 04:54:27AM EDT] On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic links at the same time? If so, you can use the

[libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-04 Thread Amy Griffis
Add a utility to ensure an absolute path for a potentially realtive path. --- src/libvirt_private.syms |1 + src/util/util.c | 36 src/util/util.h |3 +++ 3 files changed, 40 insertions(+), 0 deletions(-) diff --git