glib: use portable g_setenv()
commite468ffdc6d3b1c7127b785eb73a1f5c94751fb01
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 11 Dec 2019 14:23:28 +0000 (11 15:23 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2019 08:05:23 +0000 (17 09:05 +0100)
tree9db94e956b8932b6b1a89ca26ab63ade56559287
parente858e04dd400744a93d453e97b33f9eaee2dabec
glib: use portable g_setenv()

We have a setenv() wrapper in os-win32.c that no one is actually using.
Drop it and change to g_setenv() uniformly.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1576074210-52834-7-git-send-email-pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/sysemu/os-win32.h
os-win32.c
tests/libqtest.c
tests/test-crypto-tlscredsx509.c
tests/test-crypto-tlssession.c
tests/test-io-channel-tls.c
tests/test-vmstate.c
ui/sdl2.c