[Libguestfs] RFC: copy-attributes command

Richard W.M. Jones rjones at redhat.com
Fri Jan 10 16:55:38 UTC 2014


On Fri, Jan 10, 2014 at 05:36:39PM +0100, Pino Toscano wrote:
> +int
> +copy_xattrs (const char *src, const char *dest)
> +{
> +  abort ();
> +}

Is this called in the case where someone does

  copy-attributes foo bar xattributes:true

on a version of libguestfs with no support for xattrs?  It's probably
better to silently ignore this case instead of crashing.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list