Re: [libvirt] [PATCH 08/15] Make sure virtTestCaptureProgramOutput has a body on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 22, 2010 at 02:25:38AM +0100, Matthias Bolte wrote:
> Now the virsh tests compile at least.
> ---
>  tests/testutils.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/tests/testutils.c b/tests/testutils.c
> index 8764673..4f17e51 100644
> --- a/tests/testutils.c
> +++ b/tests/testutils.c
> @@ -280,6 +280,12 @@ int virtTestCaptureProgramOutput(const char *const argv[],
>          }
>      }
>  }
> +#else /* !WIN32 */
> +int virtTestCaptureProgramOutput(const char *const argv[] ATTRIBUTE_UNUSED,
> +                                 char **buf ATTRIBUTE_UNUSED,
> +                                 int buflen ATTRIBUTE_UNUSED) {
> +    return -1;
> +}
>  #endif /* !WIN32 */

ACK


Daniel
-- 
|: 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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]