gnupg-2.5.0: Does not build due to undeclared identifier 'environ'
This is similar to T7169.
This is on macOS.
gnupg-2.5.0: Does not build due to undeclared identifier 'environ'
This is similar to T7169.
This is on macOS.
rG GnuPG | |||
rG953dd67368ce Use gpgrt_process_spawn API from libgpg-error. |
diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c index 97d8fa4ad..e7109d760 100644 --- a/common/exechelp-posix.c +++ b/common/exechelp-posix.c @@ -76,6 +76,7 @@ #include "sysutils.h" #include "exechelp.h" +extern char **environ; /* Helper */ static inline gpg_error_t
Thank you for your report. We are about to migrate to use the gpgrt_spawn_process API.
(In our development history, it was originally implemented and tested as gnupg_spawn_process API and moved to libgpg-error.)
Let me change the bug title, since it will be non-issue after the migration.
Push the change: rG953dd67368ce: Use gpgrt_process_spawn API from libgpg-error.
Please test.