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.

wiz created this task.Aug 29 2017, 1:16 PM
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

gniibe claimed this task.Jan 29 2018, 5:54 AM
gniibe closed this task as Resolved.
gniibe added a subscriber: gniibe.
wiz added a comment.Jan 29 2018, 10:29 AM

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.