[libvirt] [PATCH 13/15] util: Replace pciWaitForDeviceCleanup with a stub on Windows

Daniel P. Berrange berrange at redhat.com
Mon Mar 22 15:03:05 UTC 2010

On Mon, Mar 22, 2010 at 02:25:43AM +0100, Matthias Bolte wrote:
> sscanf doesn't support the L modifier on Windows and gnulib has no
> replacement for the scanf functions. Just replace the function with
> a stub on Windows, because it's not used on the libvirt client side.
> ---
>  src/util/pci.c |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)

We already had this problem with printf(). For that gnulib provided
us with a replacement that worked. We should probably pull in the
scanf module from gnulib for equivalent compatability. Even though
this code isn't technically required, other places may start using
scanf & trip up on this problem

|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list