Page MenuHome GnuPG

gpgme: add missing getenv_r() support
Closed, ResolvedPublic

Description

On NetBSD, compilation fails with:

get-env.c:57:2: error: #error Use of getenv_r not implemented.
 #error Use of getenv_r not implemented.
  ^

I'll attach a patch implementing the missing function.

Event Timeline

wiz created this object in space S1 Public.

werner triaged this task as Normal priority.Aug 29 2017, 5:13 PM
werner added a project: patch.
werner added a subscriber: werner.

Do you have the specs for getenv_r? I can't find such a thing on FreeBSD or Debian

Thank you. I think you can update the comment below the implementation now ("/* FIXME: Implement this when we have the specification for it. */) and the #error line.

Ah, yes. Will do. Thank you for reminder.