[Libguestfs] [PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.

Eric Blake eblake at redhat.com
Thu Aug 20 15:26:06 UTC 2020


On 8/20/20 6:37 AM, Richard W.M. Jones wrote:
> Especially on Windows, some common functions are missing.  Use the
> autoconf LIBOBJS mechanism to replace these functions.
> 
> This includes replacement functions for:
> 
>    Function names     Implementation   Origin
> 
>    getdelim, getline  general purpose  NetBSD under a compatible license
> 
>    openlog, syslog,   Win32            written by me
>    vsyslog
> 
>    realpath           Win32            written by me
> 
>    strndup            general purpose  NetBSD under a compatible license
> 
> This should do nothing on existing supported platforms.  It is only
> intended in preparation for porting nbdkit to Windows.
> ---

> +++ b/common/replacements/Makefile.am
> @@ -0,0 +1,52 @@
> +# nbdkit
> +# Copyright (C) 2019 Red Hat Inc.

2020 if you want; but that's a lot of files to edit in the series.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list