Home GnuPG
Diffusion GnuPG 8c7c4faf3de2

common,w32: Fix setting environment variables on Windows.
8c7c4faf3de2Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common,w32: Fix setting environment variables on Windows.

* common/sysutils.c (gnupg_setenv): Also update the environment block
maintained by the C runtime.
(gnupg_unsetenv): Likewise.
* tests/gpgscm/ffi.c (do_setenv): Fix error handling.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Oct 20 2016, 4:45 PM
Parents
rGbf37916a23bd: tests,w32: Cope with Windows line endings.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG8c7c4faf3de2: common,w32: Fix setting environment variables on Windows. (authored by Justus Winter <justus@g10code.com>).Oct 20 2016, 5:01 PM