Page MenuHome GnuPG

assuan-pipe-connect.c uses setenv() which does not exist on Solaris
Closed, ResolvedPublic

Description

Release: 0.6.9

Environment

sparc-sun-solaris2.9
Compiler: Sun Studio 10

Description

Solaris does not have setenv(), which is used in assuan-pipe-connect.c

How To Repeat

Compile on Solaris.

Fix

Replace with putenv()

Event Timeline

werner added a subscriber: gnats-admin.
werner added a subscriber: werner.

Assigned. Pleasecheck whether we really need it now that
gnupg 1.9 support setenv through gnulib.

To get it work with gnupg-1.9, and other software using libassuan that provides setenv if it is missing, we should add a prototype, I guess.

OTOH, we can just as well use putenv. It's a small change.

Fixed in SVN, will be in 0.6.11. Thanks, Marcus.