[libvirt PATCH 03/32] util: add API for reading password from the console
Pavel Hrdina
phrdina at redhat.com
Fri Jan 24 12:13:02 UTC 2020
On Thu, Jan 23, 2020 at 11:42:56AM +0000, Daniel P. Berrangé wrote:
> This imports a simpler version of GNULIB's getpass() function
> impl for Windows. Note that GNULIB's impl was buggy as it
> returned a static string on UNIX, and a heap allocated string
> on Windows. This new impl always heap allocates.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/libvirt.c | 9 ++++-----
> src/libvirt_private.syms | 1 +
> src/util/virutil.c | 29 +++++++++++++++++++++++++++++
> src/util/virutil.h | 2 ++
> 4 files changed, 36 insertions(+), 5 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200124/3837a8de/attachment-0001.sig>
More information about the libvir-list
mailing list