
24 Jan
2020
24 Jan
'20
12:13 p.m.
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@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@redhat.com>